#CFCC5D#CFCC5D

#CFCC5D is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.6% C 0.133 H 107.6°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#CFCC5D
RGBrgb(207, 204, 93)
HSLhsl(58, 54%, 59%)
HSVhsv(58, 55%, 81%)
CMYKcmyk(0%, 1.4%, 55.1%, 18.8%)
CIE-LABlab(80.32, -13.41, 54.68)
CIE-LCHlch(80.32, 56.30, 103.78°)
OKLaboklab(82.57% -0.0402 0.1271)
OKLCHoklch(82.57% 0.133 107.6)
XYZxyz(49.3022, 57.2428, 18.8057)
Luminance0.5724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC5D #5D60CF
analogous
#CF935D #CFCC5D #99CF5D
triadic
#CFCC5D #5DCFCC #CC5DCF
tetradic
#CFCC5D #5DCF93 #5D60CF #CF5D99
square
#CFCC5D #5DCF93 #5D60CF #CF5D99
split-complementary
#CFCC5D #5D99CF #935DCF
monochromatic
#898629 #B8B537 #CFCC5D #DDDB8C #EBEABB

Accessibility & contrast

On white

1.69
#CFCC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#CFCC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC5D
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC5D#FFFFFF#000000##000000
##CFCC5D1.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC552
Deuteranopia (green-blind)
#DDC963
Tritanopia (blue-blind)
#DCC0B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcc5d;
/* rgb */ color: rgb(207, 204, 93);
/* oklch */ color: oklch(82.6% 0.133 107.6);
Tailwind
colors: {
  custom: {
    50: '#e0db8e',
    500: '#cfcc5d',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc5d;
$custom-light: #e0db8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc5d",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 93
  },
  "hsl": {
    "h": 58.421,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82567,
    "c": 0.13336,
    "h": 107.6
  },
  "luminance": 0.57241
}

Semantic roles & 50–950 ramp

primary
#CFCC5D
secondary
#414390
accent
#4EDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFCC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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