#CFCD7B#CFCD7B

#CFCD7B is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.104 H 107.3°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#CFCD7B
RGBrgb(207, 205, 123)
HSLhsl(59, 47%, 65%)
HSVhsv(59, 41%, 81%)
CMYKcmyk(0%, 1%, 40.6%, 18.8%)
CIE-LABlab(80.94, -11.17, 41.01)
CIE-LCHlch(80.94, 42.50, 105.23°)
OKLaboklab(83.18% -0.0309 0.0995)
OKLCHoklch(83.18% 0.104 107.3)
XYZxyz(51.1394, 58.3592, 27.3056)
Luminance0.5836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD7B #7B7DCF
analogous
#CFA37B #CFCD7B #A7CF7B
triadic
#CFCD7B #7BCFCD #CD7BCF
tetradic
#CFCD7B #7BCFA3 #7B7DCF #CF7BA7
square
#CFCD7B #7BCFA3 #7B7DCF #CF7BA7
split-complementary
#CFCD7B #7BA7CF #A37BCF
monochromatic
#989637 #BFBC4E #CFCD7B #DFDEA8 #F0EFD5

Accessibility & contrast

On white

1.66
#CFCD7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#CFCD7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD7B
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD7B#FFFFFF#000000##000000
##CFCD7B1.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C775
Deuteranopia (green-blind)
#DBCB7F
Tritanopia (blue-blind)
#DAC3B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcd7b;
/* rgb */ color: rgb(207, 205, 123);
/* oklch */ color: oklch(83.2% 0.104 107.3);
Tailwind
colors: {
  custom: {
    50: '#dfdca2',
    500: '#cfcd7b',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd7b;
$custom-light: #dfdca2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd7b",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 123
  },
  "hsl": {
    "h": 58.571,
    "s": 46.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.83177,
    "c": 0.10423,
    "h": 107.3
  },
  "luminance": 0.58358
}

Semantic roles & 50–950 ramp

primary
#CFCD7B
secondary
#50529E
accent
#2FBA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCD7B

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

Preview Lab → · Contrast checker → · Palette generator →

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