#CFD057#CFD057

#CFD057 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.4% C 0.143 H 109.6°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#CFD057
RGBrgb(207, 208, 87)
HSLhsl(60, 56%, 58%)
HSVhsv(60, 58%, 82%)
CMYKcmyk(0.5%, 0%, 58.2%, 18.4%)
CIE-LABlab(81.33, -15.86, 58.49)
CIE-LCHlch(81.33, 60.60, 105.18°)
OKLaboklab(83.36% -0.0478 0.1346)
OKLCHoklch(83.36% 0.143 109.6)
XYZxyz(50.0097, 59.0666, 17.7816)
Luminance0.5907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD057 #5857D0
analogous
#D09457 #CFD057 #92D057
triadic
#CFD057 #57CFD0 #D057CF
tetradic
#CFD057 #57D094 #5857D0 #D05792
square
#CFD057 #57D094 #5857D0 #D05792
split-complementary
#CFD057 #5792D0 #9457D0
monochromatic
#868726 #B6B733 #CFD057 #DDDD87 #EAEBB7

Accessibility & contrast

On white

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

On black

12.81
#CFD057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD057
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD057#FFFFFF#000000##000000
##CFD0571.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC849
Deuteranopia (green-blind)
#E1CC5E
Tritanopia (blue-blind)
#DCC4B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfd057;
/* rgb */ color: rgb(207, 208, 87);
/* oklch */ color: oklch(83.4% 0.143 109.6);
Tailwind
colors: {
  custom: {
    50: '#e0de8b',
    500: '#cfd057',
    950: '#000000',
  },
}
SCSS
$custom: #cfd057;
$custom-light: #e0de8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd057",
  "rgb": {
    "r": 207,
    "g": 208,
    "b": 87
  },
  "hsl": {
    "h": 60.496,
    "s": 56.279,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83355,
    "c": 0.14281,
    "h": 109.6
  },
  "luminance": 0.59065
}

Semantic roles & 50–950 ramp

primary
#CFD057
secondary
#3E3E8E
accent
#48E049
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFD057

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

Preview Lab → · Contrast checker → · Palette generator →

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