#CFD254#CFD254

#CFD254 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.8% C 0.147 H 110.5°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#CFD254
RGBrgb(207, 210, 84)
HSLhsl(61, 58%, 58%)
HSVhsv(61, 60%, 82%)
CMYKcmyk(1.4%, 0%, 60%, 17.6%)
CIE-LABlab(81.84, -17.07, 60.34)
CIE-LCHlch(81.84, 62.70, 105.80°)
OKLaboklab(83.75% -0.0516 0.1381)
OKLCHoklch(83.75% 0.147 110.5)
XYZxyz(50.3804, 59.9999, 17.3130)
Luminance0.6000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD254 #5754D2
analogous
#D29654 #CFD254 #90D254
triadic
#CFD254 #54CFD2 #D254CF
tetradic
#CFD254 #54D296 #5754D2 #D25490
square
#CFD254 #54D296 #5754D2 #D25490
split-complementary
#CFD254 #5490D2 #9654D2
monochromatic
#858824 #B5B831 #CFD254 #DDDF84 #EAEBB5

Accessibility & contrast

On white

1.62
#CFD254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.00
#CFD254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD254
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD254#FFFFFF#000000##000000
##CFD2541.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfd254;
/* rgb */ color: rgb(207, 210, 84);
/* oklch */ color: oklch(83.8% 0.147 110.5);
Tailwind
colors: {
  custom: {
    50: '#e0df89',
    500: '#cfd254',
    950: '#000000',
  },
}
SCSS
$custom: #cfd254;
$custom-light: #e0df89;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd254",
  "rgb": {
    "r": 207,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 61.429,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83754,
    "c": 0.14741,
    "h": 110.5
  },
  "luminance": 0.59999
}

Semantic roles & 50–950 ramp

primary
#CFD254
secondary
#3E3C8E
accent
#46E24A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD254

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

Preview Lab → · Contrast checker → · Palette generator →

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