#CFCD7A#CFCD7A

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

Color values

HEX#CFCD7A
RGBrgb(207, 205, 122)
HSLhsl(59, 47%, 65%)
HSVhsv(59, 41%, 81%)
CMYKcmyk(0%, 1%, 41.1%, 18.8%)
CIE-LABlab(80.92, -11.27, 41.49)
CIE-LCHlch(80.92, 43.00, 105.20°)
OKLaboklab(83.16% -0.0313 0.1006)
OKLCHoklch(83.16% 0.105 107.3)
XYZxyz(51.0771, 58.3343, 26.9776)
Luminance0.5833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD7A #7A7CCF
analogous
#CFA37A #CFCD7A #A7CF7A
triadic
#CFCD7A #7ACFCD #CD7ACF
tetradic
#CFCD7A #7ACFA3 #7A7CCF #CF7AA7
square
#CFCD7A #7ACFA3 #7A7CCF #CF7AA7
split-complementary
#CFCD7A #7AA7CF #A37ACF
monochromatic
#989637 #BFBC4D #CFCD7A #DFDEA7 #EFEFD4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCD7A#FFFFFF#000000##000000
##CFCD7A1.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)
#DAC773
Deuteranopia (green-blind)
#DBCB7E
Tritanopia (blue-blind)
#DAC3B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcd7a;
/* rgb */ color: rgb(207, 205, 122);
/* oklch */ color: oklch(83.2% 0.105 107.3);
Tailwind
colors: {
  custom: {
    50: '#dfdca2',
    500: '#cfcd7a',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd7a;
$custom-light: #dfdca2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd7a",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 122
  },
  "hsl": {
    "h": 58.588,
    "s": 46.961,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83162,
    "c": 0.10533,
    "h": 107.3
  },
  "luminance": 0.58333
}

Semantic roles & 50–950 ramp

primary
#CFCD7A
secondary
#50519E
accent
#2FBA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CFCD7A

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

Preview Lab → · Contrast checker → · Palette generator →

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