#CFCD89#CFCD89

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

Color values

HEX#CFCD89
RGBrgb(207, 205, 137)
HSLhsl(58, 42%, 67%)
HSVhsv(58, 34%, 81%)
CMYKcmyk(0%, 1%, 33.8%, 18.8%)
CIE-LABlab(81.15, -9.59, 34.17)
CIE-LCHlch(81.15, 35.49, 105.67°)
OKLaboklab(83.41% -0.0254 0.0845)
OKLCHoklch(83.41% 0.088 106.7)
XYZxyz(52.0793, 58.7352, 32.2556)
Luminance0.5873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD89 #898BCF
analogous
#CFAA89 #CFCD89 #AECF89
triadic
#CFCD89 #89CFCD #CD89CF
tetradic
#CFCD89 #89CFAA #898BCF #CF89AE
square
#CFCD89 #89CFAA #898BCF #CF89AE
split-complementary
#CFCD89 #89AECF #AA89CF
monochromatic
#9E9B40 #BDBB5D #CFCD89 #E1DFB5 #F2F2E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCD89#FFFFFF#000000##000000
##CFCD891.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)
#D8C884
Deuteranopia (green-blind)
#DACB8C
Tritanopia (blue-blind)
#D9C5BC
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcd89;
/* rgb */ color: rgb(207, 205, 137);
/* oklch */ color: oklch(83.4% 0.088 106.7);
Tailwind
colors: {
  custom: {
    50: '#dedcac',
    500: '#cfcd89',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd89;
$custom-light: #dedcac;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd89",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 137
  },
  "hsl": {
    "h": 58.286,
    "s": 42.169,
    "l": 67.451
  },
  "oklch": {
    "l": 0.8341,
    "c": 0.0882,
    "h": 106.7
  },
  "luminance": 0.58734
}

Semantic roles & 50–950 ramp

primary
#CFCD89
secondary
#595BA3
accent
#34B530
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFCD89

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

Preview Lab → · Contrast checker → · Palette generator →

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