#CFCD7C#CFCD7C

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

Color values

HEX#CFCD7C
RGBrgb(207, 205, 124)
HSLhsl(59, 46%, 65%)
HSVhsv(59, 40%, 81%)
CMYKcmyk(0%, 1%, 40.1%, 18.8%)
CIE-LABlab(80.95, -11.06, 40.53)
CIE-LCHlch(80.95, 42.01, 105.26°)
OKLaboklab(83.19% -0.0305 0.0985)
OKLCHoklch(83.19% 0.103 107.2)
XYZxyz(51.2023, 58.3844, 27.6370)
Luminance0.5838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD7C #7C7ECF
analogous
#CFA37C #CFCD7C #A8CF7C
triadic
#CFCD7C #7CCFCD #CD7CCF
tetradic
#CFCD7C #7CCFA3 #7C7ECF #CF7CA8
square
#CFCD7C #7CCFA3 #7C7ECF #CF7CA8
split-complementary
#CFCD7C #7CA8CF #A37CCF
monochromatic
#999638 #BFBC4F #CFCD7C #DFDEA9 #F0EFD6

Accessibility & contrast

On white

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

On black

12.68
#CFCD7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD7C
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD7C#FFFFFF#000000##000000
##CFCD7C1.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C776
Deuteranopia (green-blind)
#DBCB80
Tritanopia (blue-blind)
#DAC4B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcd7c;
/* rgb */ color: rgb(207, 205, 124);
/* oklch */ color: oklch(83.2% 0.103 107.2);
Tailwind
colors: {
  custom: {
    50: '#dfdca3',
    500: '#cfcd7c',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd7c;
$custom-light: #dfdca3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd7c",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 124
  },
  "hsl": {
    "h": 58.554,
    "s": 46.369,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83193,
    "c": 0.10312,
    "h": 107.2
  },
  "luminance": 0.58383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCD7C

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

Preview Lab → · Contrast checker → · Palette generator →

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