#CFCD8B#CFCD8B

#CFCD8B is a very light, moderate yellow. Relative luminance 0.588; OKLCH L 83.4% C 0.086 H 106.6°. Best body text is #000000 at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#CFCD8B
RGBrgb(207, 205, 139)
HSLhsl(58, 41%, 68%)
HSVhsv(58, 33%, 81%)
CMYKcmyk(0%, 1%, 32.9%, 18.8%)
CIE-LABlab(81.18, -9.34, 33.18)
CIE-LCHlch(81.18, 34.47, 105.73°)
OKLaboklab(83.45% -0.0246 0.0822)
OKLCHoklch(83.45% 0.086 106.6)
XYZxyz(52.2241, 58.7931, 33.0182)
Luminance0.5879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD8B #8B8DCF
analogous
#CFAB8B #CFCD8B #AFCF8B
triadic
#CFCD8B #8BCFCD #CD8BCF
tetradic
#CFCD8B #8BCFAB #8B8DCF #CF8BAF
square
#CFCD8B #8BCFAB #8B8DCF #CF8BAF
split-complementary
#CFCD8B #8BAFCF #AB8BCF
monochromatic
#9E9B41 #BDBA60 #CFCD8B #E1E0B6 #F3F2E2

Accessibility & contrast

On white

1.65
#CFCD8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.76
#CFCD8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD8B
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD8B#FFFFFF#000000##000000
##CFCD8B1.001.6512.7612.76
#FFFFFF1.651.0021.0021.00
#00000012.7621.001.001.00
##00000012.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C886
Deuteranopia (green-blind)
#D9CB8E
Tritanopia (blue-blind)
#D9C5BC
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcd8b;
/* rgb */ color: rgb(207, 205, 139);
/* oklch */ color: oklch(83.4% 0.086 106.6);
Tailwind
colors: {
  custom: {
    50: '#dedcad',
    500: '#cfcd8b',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd8b;
$custom-light: #dedcad;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd8b",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 139
  },
  "hsl": {
    "h": 58.235,
    "s": 41.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.83445,
    "c": 0.08583,
    "h": 106.6
  },
  "luminance": 0.58792
}

Semantic roles & 50–950 ramp

primary
#CFCD8B
secondary
#5A5CA4
accent
#35B531
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFCD8B

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

Preview Lab → · Contrast checker → · Palette generator →

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