#CFD07D#CFD07D

#CFD07D is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 83.8% C 0.106 H 109.1°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#CFD07D
RGBrgb(207, 208, 125)
HSLhsl(61, 47%, 65%)
HSVhsv(61, 40%, 82%)
CMYKcmyk(0.5%, 0%, 39.9%, 18.4%)
CIE-LABlab(81.76, -12.47, 41.05)
CIE-LCHlch(81.76, 42.90, 106.90°)
OKLaboklab(83.84% -0.0345 0.0997)
OKLCHoklch(83.84% 0.106 109.1)
XYZxyz(51.9904, 59.8588, 28.2132)
Luminance0.5986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD07D #7E7DD0
analogous
#D0A77D #CFD07D #A5D07D
triadic
#CFD07D #7DCFD0 #D07DCF
tetradic
#CFD07D #7DD0A7 #7E7DD0 #D07DA5
square
#CFD07D #7DD0A7 #7E7DD0 #D07DA5
split-complementary
#CFD07D #7DA5D0 #A77DD0
monochromatic
#999B38 #BEC050 #CFD07D #E0E0AA #F0F1D7

Accessibility & contrast

On white

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

On black

12.97
#CFD07D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD07D
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD07D#FFFFFF#000000##000000
##CFD07D1.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCA77
Deuteranopia (green-blind)
#DDCD81
Tritanopia (blue-blind)
#DAC7BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd07d;
/* rgb */ color: rgb(207, 208, 125);
/* oklch */ color: oklch(83.8% 0.106 109.1);
Tailwind
colors: {
  custom: {
    50: '#dfdea4',
    500: '#cfd07d',
    950: '#000000',
  },
}
SCSS
$custom: #cfd07d;
$custom-light: #dfdea4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd07d",
  "rgb": {
    "r": 207,
    "g": 208,
    "b": 125
  },
  "hsl": {
    "h": 60.723,
    "s": 46.893,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83841,
    "c": 0.10552,
    "h": 109.1
  },
  "luminance": 0.59858
}

Semantic roles & 50–950 ramp

primary
#CFD07D
secondary
#5251A0
accent
#2BBA2D
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD07D

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

Preview Lab → · Contrast checker → · Palette generator →

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