#CFCC5C#CFCC5C

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

Color values

HEX#CFCC5C
RGBrgb(207, 204, 92)
HSLhsl(58, 55%, 59%)
HSVhsv(58, 56%, 81%)
CMYKcmyk(0%, 1.4%, 55.6%, 18.8%)
CIE-LABlab(80.31, -13.49, 55.12)
CIE-LCHlch(80.31, 56.75, 103.75°)
OKLaboklab(82.56% -0.0406 0.128)
OKLCHoklch(82.56% 0.134 107.6)
XYZxyz(49.2582, 57.2252, 18.5739)
Luminance0.5722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC5C #5C5FCF
analogous
#CF925C #CFCC5C #98CF5C
triadic
#CFCC5C #5CCFCC #CC5CCF
tetradic
#CFCC5C #5CCF92 #5C5FCF #CF5C98
square
#CFCC5C #5CCF92 #5C5FCF #CF5C98
split-complementary
#CFCC5C #5C98CF #925CCF
monochromatic
#888628 #B8B436 #CFCC5C #DDDB8B #EBEABB

Accessibility & contrast

On white

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

On black

12.44
#CFCC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC5C
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC5C#FFFFFF#000000##000000
##CFCC5C1.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC550
Deuteranopia (green-blind)
#DDC962
Tritanopia (blue-blind)
#DCC0B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcc5c;
/* rgb */ color: rgb(207, 204, 92);
/* oklch */ color: oklch(82.6% 0.134 107.6);
Tailwind
colors: {
  custom: {
    50: '#e0db8e',
    500: '#cfcc5c',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc5c;
$custom-light: #e0db8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc5c",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 92
  },
  "hsl": {
    "h": 58.435,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82556,
    "c": 0.13426,
    "h": 107.6
  },
  "luminance": 0.57224
}

Semantic roles & 50–950 ramp

primary
#CFCC5C
secondary
#40428F
accent
#4EDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFCC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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