#CFD051#CFD051

#CFD051 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.3% C 0.148 H 109.6°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#CFD051
RGBrgb(207, 208, 81)
HSLhsl(60, 57%, 57%)
HSVhsv(60, 61%, 82%)
CMYKcmyk(0.5%, 0%, 61.1%, 18.4%)
CIE-LABlab(81.28, -16.28, 61.00)
CIE-LCHlch(81.28, 63.13, 104.94°)
OKLaboklab(83.3% -0.0496 0.1391)
OKLCHoklch(83.3% 0.148 109.6)
XYZxyz(49.7747, 58.9726, 16.5438)
Luminance0.5897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD051 #5251D0
analogous
#D09151 #CFD051 #90D051
triadic
#CFD051 #51CFD0 #D051CF
tetradic
#CFD051 #51D091 #5251D0 #D05190
square
#CFD051 #51D091 #5251D0 #D05190
split-complementary
#CFD051 #5190D0 #9151D0
monochromatic
#828323 #B2B330 #CFD051 #DCDD81 #EAEAB1

Accessibility & contrast

On white

1.64
#CFD051 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#CFD051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD051
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD051#FFFFFF#000000##000000
##CFD0511.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C842
Deuteranopia (green-blind)
#E1CC59
Tritanopia (blue-blind)
#DDC4B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfd051;
/* rgb */ color: rgb(207, 208, 81);
/* oklch */ color: oklch(83.3% 0.148 109.6);
Tailwind
colors: {
  custom: {
    50: '#e1de87',
    500: '#cfd051',
    950: '#000000',
  },
}
SCSS
$custom: #cfd051;
$custom-light: #e1de87;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd051",
  "rgb": {
    "r": 207,
    "g": 208,
    "b": 81
  },
  "hsl": {
    "h": 60.472,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83297,
    "c": 0.14768,
    "h": 109.6
  },
  "luminance": 0.58971
}

Semantic roles & 50–950 ramp

primary
#CFD051
secondary
#3C3B8A
accent
#47E148
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD051

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

Preview Lab → · Contrast checker → · Palette generator →

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