#CFCD94#CFCD94

#CFCD94 is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.6% C 0.075 H 106.2°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#CFCD94
RGBrgb(207, 205, 148)
HSLhsl(58, 38%, 70%)
HSVhsv(58, 29%, 81%)
CMYKcmyk(0%, 1%, 28.5%, 18.8%)
CIE-LABlab(81.33, -8.21, 28.72)
CIE-LCHlch(81.33, 29.87, 105.96°)
OKLaboklab(83.61% -0.0209 0.072)
OKLCHoklch(83.61% 0.075 106.2)
XYZxyz(52.9090, 59.0670, 36.6251)
Luminance0.5907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD94 #9496CF
analogous
#CFB094 #CFCD94 #B4CF94
triadic
#CFCD94 #94CFCD #CD94CF
tetradic
#CFCD94 #94CFB0 #9496CF #CF94B4
square
#CFCD94 #94CFB0 #9496CF #CF94B4
split-complementary
#CFCD94 #94B4CF #B094CF
monochromatic
#A19E48 #BCB96A #CFCD94 #E2E1BE #F5F4E8

Accessibility & contrast

On white

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

On black

12.81
#CFCD94 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD94
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD94#FFFFFF#000000##000000
##CFCD941.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C990
Deuteranopia (green-blind)
#D8CB96
Tritanopia (blue-blind)
#D8C6BE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcd94;
/* rgb */ color: rgb(207, 205, 148);
/* oklch */ color: oklch(83.6% 0.075 106.2);
Tailwind
colors: {
  custom: {
    50: '#dedcb4',
    500: '#cfcd94',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd94;
$custom-light: #dedcb4;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd94",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 148
  },
  "hsl": {
    "h": 57.966,
    "s": 38.065,
    "l": 69.608
  },
  "oklch": {
    "l": 0.83614,
    "c": 0.07493,
    "h": 106.2
  },
  "luminance": 0.59066
}

Semantic roles & 50–950 ramp

primary
#CFCD94
secondary
#6365A4
accent
#39B134
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCD94

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

Preview Lab → · Contrast checker → · Palette generator →

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