#D2F034

A color in the Yellow, Gold family

#d2f034 is a color in the Yellow, Gold family: RGB(210, 240, 52), HSL(70°, 86%, 57%), CMYK(13%, 0%, 78%, 6%). Closest named color: greenyellow. Contrast is 1.29:1 on white and 16.25:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#d2f034
RGBrgb(210 240 52)
RGB (legacy)rgb(210, 240, 52)
RGB %rgb(82% 94% 20%)
HSLhsl(70 86% 57%)
HSV / HSBhsv(70, 78%, 94%)
HWBhwb(70 20% 6%)
CMYKcmyk(13%, 0%, 78%, 6%)
CIELAB (D50)lab(90.33 -26.4 78.71)
LCHlch(90.33 83.02 108.54)
OKLaboklab(0.9028 -0.0957 0.1738)
OKLCHoklch(0.9028 0.1985 118.84)
Decimal13824052

Properties

Color ToneYellow, Gold
Closest named colorgreenyellow ΔE 5.6
Closest web-safe color#ccff33
Hue70°
Saturation (HSL / HSV)86% / 78%
Lightness (HSL)57%
Brightness or Value (HSV)94%
Luminance (Rec.601 / Rec.709)82% / 86%
Relative luminance (WCAG)0.7627
Red / Green / Blue210 / 240 / 52

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.29:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
16.25:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 14.3 / -89.5 · As background with white / black text: Lc -16.5 / 89.3

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #d2f034;
  --color-brand-oklch: oklch(90.28% 0.1985 118.84);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(210 240 52 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d2f034] text-[#d2f034] border-[#d2f034]">