#CFCD93#CFCD93

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

Color values

HEX#CFCD93
RGBrgb(207, 205, 147)
HSLhsl(58, 38%, 69%)
HSVhsv(58, 29%, 81%)
CMYKcmyk(0%, 1%, 29%, 18.8%)
CIE-LABlab(81.31, -8.34, 29.21)
CIE-LCHlch(81.31, 30.38, 105.94°)
OKLaboklab(83.6% -0.0213 0.0731)
OKLCHoklch(83.6% 0.076 106.3)
XYZxyz(52.8301, 59.0355, 36.2101)
Luminance0.5904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD93 #9395CF
analogous
#CFAF93 #CFCD93 #B3CF93
triadic
#CFCD93 #93CFCD #CD93CF
tetradic
#CFCD93 #93CFAF #9395CF #CF93B3
square
#CFCD93 #93CFAF #9395CF #CF93B3
split-complementary
#CFCD93 #93B3CF #AF93CF
monochromatic
#A09D47 #BCB969 #CFCD93 #E2E1BD #F5F4E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCD93#FFFFFF#000000##000000
##CFCD931.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)
#D7C88F
Deuteranopia (green-blind)
#D8CB95
Tritanopia (blue-blind)
#D8C6BE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cfcd93;
/* rgb */ color: rgb(207, 205, 147);
/* oklch */ color: oklch(83.6% 0.076 106.3);
Tailwind
colors: {
  custom: {
    50: '#dedcb3',
    500: '#cfcd93',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd93;
$custom-light: #dedcb3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd93",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 147
  },
  "hsl": {
    "h": 58,
    "s": 38.462,
    "l": 69.412
  },
  "oklch": {
    "l": 0.83595,
    "c": 0.07616,
    "h": 106.3
  },
  "luminance": 0.59035
}

Semantic roles & 50–950 ramp

primary
#CFCD93
secondary
#6264A4
accent
#38B134
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCD93

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

Preview Lab → · Contrast checker → · Palette generator →

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