#CFD154#CFD154

#CFD154 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.5% C 0.146 H 110.0°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#CFD154
RGBrgb(207, 209, 84)
HSLhsl(61, 58%, 57%)
HSVhsv(61, 60%, 82%)
CMYKcmyk(1%, 0%, 59.8%, 18%)
CIE-LABlab(81.57, -16.57, 60.04)
CIE-LCHlch(81.57, 62.29, 105.43°)
OKLaboklab(83.54% -0.0502 0.1375)
OKLCHoklch(83.54% 0.146 110)
XYZxyz(50.1343, 59.5077, 17.2310)
Luminance0.5951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD154 #5654D1
analogous
#D19554 #CFD154 #91D154
triadic
#CFD154 #54CFD1 #D154CF
tetradic
#CFD154 #54D195 #5654D1 #D15491
square
#CFD154 #54D195 #5654D1 #D15491
split-complementary
#CFD154 #5491D1 #9554D1
monochromatic
#858624 #B5B731 #CFD154 #DDDE84 #EAEBB4

Accessibility & contrast

On white

1.63
#CFD154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#CFD154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD154
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD154#FFFFFF#000000##000000
##CFD1541.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C945
Deuteranopia (green-blind)
#E2CD5C
Tritanopia (blue-blind)
#DCC5B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd154;
/* rgb */ color: rgb(207, 209, 84);
/* oklch */ color: oklch(83.5% 0.146 110.0);
Tailwind
colors: {
  custom: {
    50: '#e0de89',
    500: '#cfd154',
    950: '#000000',
  },
}
SCSS
$custom: #cfd154;
$custom-light: #e0de89;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd154",
  "rgb": {
    "r": 207,
    "g": 209,
    "b": 84
  },
  "hsl": {
    "h": 60.96,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8354,
    "c": 0.14634,
    "h": 110
  },
  "luminance": 0.59506
}

Semantic roles & 50–950 ramp

primary
#CFD154
secondary
#3D3C8D
accent
#47E149
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD154

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

Preview Lab → · Contrast checker → · Palette generator →

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