#CFD07B#CFD07B

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

Color values

HEX#CFD07B
RGBrgb(207, 208, 123)
HSLhsl(61, 47%, 65%)
HSVhsv(61, 41%, 82%)
CMYKcmyk(0.5%, 0%, 40.9%, 18.4%)
CIE-LABlab(81.73, -12.68, 42.01)
CIE-LCHlch(81.73, 43.89, 106.80°)
OKLaboklab(83.81% -0.0352 0.1018)
OKLCHoklch(83.81% 0.108 109.1)
XYZxyz(51.8639, 59.8082, 27.5471)
Luminance0.5981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFD07B #7C7BD0
analogous
#D0A77B #CFD07B #A4D07B
triadic
#CFD07B #7BCFD0 #D07BCF
tetradic
#CFD07B #7BD0A7 #7C7BD0 #D07BA4
square
#CFD07B #7BD0A7 #7C7BD0 #D07BA4
split-complementary
#CFD07B #7BA4D0 #A77BD0
monochromatic
#999A37 #BFC04E #CFD07B #DFE0A8 #F0F0D5

Accessibility & contrast

On white

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

On black

12.96
#CFD07B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFD07B
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFD07B#FFFFFF#000000##000000
##CFD07B1.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC974
Deuteranopia (green-blind)
#DECD7F
Tritanopia (blue-blind)
#DAC6BB
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cfd07b;
/* rgb */ color: rgb(207, 208, 123);
/* oklch */ color: oklch(83.8% 0.108 109.1);
Tailwind
colors: {
  custom: {
    50: '#dfdea2',
    500: '#cfd07b',
    950: '#000000',
  },
}
SCSS
$custom: #cfd07b;
$custom-light: #dfdea2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfd07b",
  "rgb": {
    "r": 207,
    "g": 208,
    "b": 123
  },
  "hsl": {
    "h": 60.706,
    "s": 47.486,
    "l": 64.902
  },
  "oklch": {
    "l": 0.8381,
    "c": 0.10773,
    "h": 109.1
  },
  "luminance": 0.59807
}

Semantic roles & 50–950 ramp

primary
#CFD07B
secondary
#51509F
accent
#2BBB2C
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFD07B

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

Preview Lab → · Contrast checker → · Palette generator →

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