#CFD34F#CFD34F

#CFD34F is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 83.9% C 0.152 H 110.9°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#CFD34F
RGBrgb(207, 211, 79)
HSLhsl(62, 60%, 57%)
HSVhsv(62, 63%, 83%)
CMYKcmyk(1.9%, 0%, 62.6%, 17.3%)
CIE-LABlab(82.07, -17.89, 62.67)
CIE-LCHlch(82.07, 65.17, 105.93°)
OKLaboklab(83.92% -0.0544 0.1423)
OKLCHoklch(83.92% 0.152 110.9)
XYZxyz(50.4391, 60.4197, 16.4008)
Luminance0.6042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD34F #534FD3
analogous
#D3954F #CFD34F #8DD34F
triadic
#CFD34F #4FCFD3 #D34FCF
tetradic
#CFD34F #4FD395 #534FD3 #D34F8D
square
#CFD34F #4FD395 #534FD3 #D34F8D
split-complementary
#CFD34F #4F8DD3 #954FD3
monochromatic
#838622 #B3B72E #CFD34F #DCDF80 #EAEBB1

Accessibility & contrast

On white

1.61
#CFD34F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.08
#CFD34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD34F
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD34F#FFFFFF#000000##000000
##CFD34F1.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA3E
Deuteranopia (green-blind)
#E4CE57
Tritanopia (blue-blind)
#DDC7B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cfd34f;
/* rgb */ color: rgb(207, 211, 79);
/* oklch */ color: oklch(83.9% 0.152 110.9);
Tailwind
colors: {
  custom: {
    50: '#e1e086',
    500: '#cfd34f',
    950: '#000000',
  },
}
SCSS
$custom: #cfd34f;
$custom-light: #e1e086;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd34f",
  "rgb": {
    "r": 207,
    "g": 211,
    "b": 79
  },
  "hsl": {
    "h": 61.818,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83922,
    "c": 0.15238,
    "h": 110.9
  },
  "luminance": 0.60418
}

Semantic roles & 50–950 ramp

primary
#CFD34F
secondary
#3C398D
accent
#45E349
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD34F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CFD34F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva