#CFD152#CFD152

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

Color values

HEX#CFD152
RGBrgb(207, 209, 82)
HSLhsl(61, 58%, 57%)
HSVhsv(61, 61%, 82%)
CMYKcmyk(1%, 0%, 60.8%, 18%)
CIE-LABlab(81.55, -16.71, 60.87)
CIE-LCHlch(81.55, 63.12, 105.35°)
OKLaboklab(83.52% -0.0508 0.139)
OKLCHoklch(83.52% 0.148 110.1)
XYZxyz(50.0570, 59.4768, 16.8243)
Luminance0.5948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD152 #5452D1
analogous
#D19452 #CFD152 #90D152
triadic
#CFD152 #52CFD1 #D152CF
tetradic
#CFD152 #52D194 #5452D1 #D15290
square
#CFD152 #52D194 #5452D1 #D15290
split-complementary
#CFD152 #5290D1 #9452D1
monochromatic
#848523 #B3B630 #CFD152 #DCDE82 #EAEBB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFD152#FFFFFF#000000##000000
##CFD1521.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)
#E0C943
Deuteranopia (green-blind)
#E2CD5A
Tritanopia (blue-blind)
#DDC5B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd152;
/* rgb */ color: rgb(207, 209, 82);
/* oklch */ color: oklch(83.5% 0.148 110.1);
Tailwind
colors: {
  custom: {
    50: '#e1de88',
    500: '#cfd152',
    950: '#000000',
  },
}
SCSS
$custom: #cfd152;
$custom-light: #e1de88;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd152",
  "rgb": {
    "r": 207,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 60.945,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.83521,
    "c": 0.14794,
    "h": 110.1
  },
  "luminance": 0.59476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFD152

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

Preview Lab → · Contrast checker → · Palette generator →

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