#CFCD8A#CFCD8A

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

Color values

HEX#CFCD8A
RGBrgb(207, 205, 138)
HSLhsl(58, 42%, 68%)
HSVhsv(58, 33%, 81%)
CMYKcmyk(0%, 1%, 33.3%, 18.8%)
CIE-LABlab(81.16, -9.47, 33.67)
CIE-LCHlch(81.16, 34.98, 105.70°)
OKLaboklab(83.43% -0.025 0.0833)
OKLCHoklch(83.43% 0.087 106.7)
XYZxyz(52.1514, 58.7640, 32.6352)
Luminance0.5876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD8A #8A8CCF
analogous
#CFAB8A #CFCD8A #AECF8A
triadic
#CFCD8A #8ACFCD #CD8ACF
tetradic
#CFCD8A #8ACFAB #8A8CCF #CF8AAE
square
#CFCD8A #8ACFAB #8A8CCF #CF8AAE
split-complementary
#CFCD8A #8AAECF #AB8ACF
monochromatic
#9E9B41 #BDBA5F #CFCD8A #E1E0B5 #F3F2E1

Accessibility & contrast

On white

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

On black

12.75
#CFCD8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD8A
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD8A#FFFFFF#000000##000000
##CFCD8A1.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfcd8a;
/* rgb */ color: rgb(207, 205, 138);
/* oklch */ color: oklch(83.4% 0.087 106.7);
Tailwind
colors: {
  custom: {
    50: '#dedcad',
    500: '#cfcd8a',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd8a;
$custom-light: #dedcad;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd8a",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 138
  },
  "hsl": {
    "h": 58.261,
    "s": 41.818,
    "l": 67.647
  },
  "oklch": {
    "l": 0.83427,
    "c": 0.08702,
    "h": 106.7
  },
  "luminance": 0.58763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCD8A

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

Preview Lab → · Contrast checker → · Palette generator →

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