#CFCD92#CFCD92

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

Color values

HEX#CFCD92
RGBrgb(207, 205, 146)
HSLhsl(58, 39%, 69%)
HSVhsv(58, 29%, 81%)
CMYKcmyk(0%, 1%, 29.5%, 18.8%)
CIE-LABlab(81.29, -8.47, 29.71)
CIE-LCHlch(81.29, 30.89, 105.91°)
OKLaboklab(83.58% -0.0217 0.0743)
OKLCHoklch(83.58% 0.077 106.3)
XYZxyz(52.7520, 59.0043, 35.7986)
Luminance0.5900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCD92 #9294CF
analogous
#CFAF92 #CFCD92 #B3CF92
triadic
#CFCD92 #92CFCD #CD92CF
tetradic
#CFCD92 #92CFAF #9294CF #CF92B3
square
#CFCD92 #92CFAF #9294CF #CF92B3
split-complementary
#CFCD92 #92B3CF #AF92CF
monochromatic
#A09D47 #BCBA68 #CFCD92 #E2E0BC #F4F4E7

Accessibility & contrast

On white

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

On black

12.80
#CFCD92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCD92
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCD92#FFFFFF#000000##000000
##CFCD921.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfcd92;
/* rgb */ color: rgb(207, 205, 146);
/* oklch */ color: oklch(83.6% 0.077 106.3);
Tailwind
colors: {
  custom: {
    50: '#dedcb2',
    500: '#cfcd92',
    950: '#000000',
  },
}
SCSS
$custom: #cfcd92;
$custom-light: #dedcb2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcd92",
  "rgb": {
    "r": 207,
    "g": 205,
    "b": 146
  },
  "hsl": {
    "h": 58.033,
    "s": 38.854,
    "l": 69.216
  },
  "oklch": {
    "l": 0.83576,
    "c": 0.07739,
    "h": 106.3
  },
  "luminance": 0.59003
}

Semantic roles & 50–950 ramp

primary
#CFCD92
secondary
#6163A4
accent
#38B234
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CFCD92

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

Preview Lab → · Contrast checker → · Palette generator →

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