#CFCD90#CFCD90

#CFCD90 is a very light, moderate yellow. Relative luminance 0.589; OKLCH L 83.5% C 0.080 H 106.4°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#CFCD90
RGBrgb(207, 205, 144)
HSLhsl(58, 40%, 69%)
HSVhsv(58, 30%, 81%)
CMYKcmyk(0%, 1%, 30.4%, 18.8%)
CIE-LABlab(81.26, -8.72, 30.70)
CIE-LCHlch(81.26, 31.92, 105.86°)
OKLaboklab(83.54% -0.0226 0.0766)
OKLCHoklch(83.54% 0.08 106.4)
XYZxyz(52.5978, 58.9426, 34.9864)
Luminance0.5894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD90 #9092CF
analogous
#CFAE90 #CFCD90 #B2CF90
triadic
#CFCD90 #90CFCD #CD90CF
tetradic
#CFCD90 #90CFAE #9092CF #CF90B2
square
#CFCD90 #90CFAE #9092CF #CF90B2
split-complementary
#CFCD90 #90B2CF #AE90CF
monochromatic
#A09D45 #BDBA65 #CFCD90 #E1E0BB #F4F3E5

Accessibility & contrast

On white

1.64
#CFCD90 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#CFCD90 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD90
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD90#FFFFFF#000000##000000
##CFCD901.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C88C
Deuteranopia (green-blind)
#D9CB92
Tritanopia (blue-blind)
#D8C5BD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcd90;
/* rgb */ color: rgb(207, 205, 144);
/* oklch */ color: oklch(83.5% 0.080 106.4);
Tailwind
colors: {
  custom: {
    50: '#dedcb1',
    500: '#cfcd90',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd90;
$custom-light: #dedcb1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd90",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 144
  },
  "hsl": {
    "h": 58.095,
    "s": 39.623,
    "l": 68.824
  },
  "oklch": {
    "l": 0.83538,
    "c": 0.07982,
    "h": 106.4
  },
  "luminance": 0.58942
}

Semantic roles & 50–950 ramp

primary
#CFCD90
secondary
#5F61A4
accent
#37B333
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #CFCD90

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

Preview Lab → · Contrast checker → · Palette generator →

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