#CFCC5A#CFCC5A

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

Color values

HEX#CFCC5A
RGBrgb(207, 204, 90)
HSLhsl(58, 55%, 58%)
HSVhsv(58, 57%, 81%)
CMYKcmyk(0%, 1.4%, 56.5%, 18.8%)
CIE-LABlab(80.29, -13.64, 56.00)
CIE-LCHlch(80.29, 57.64, 103.69°)
OKLaboklab(82.53% -0.0412 0.1296)
OKLCHoklch(82.53% 0.136 107.6)
XYZxyz(49.1719, 57.1907, 18.1196)
Luminance0.5719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC5A #5A5DCF
analogous
#CF925A #CFCC5A #97CF5A
triadic
#CFCC5A #5ACFCC #CC5ACF
tetradic
#CFCC5A #5ACF92 #5A5DCF #CF5A97
square
#CFCC5A #5ACF92 #5A5DCF #CF5A97
split-complementary
#CFCC5A #5A97CF #925ACF
monochromatic
#878527 #B7B335 #CFCC5A #DDDB89 #EBE9B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCC5A#FFFFFF#000000##000000
##CFCC5A1.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)
#DBC54E
Deuteranopia (green-blind)
#DDC960
Tritanopia (blue-blind)
#DCC0B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcc5a;
/* rgb */ color: rgb(207, 204, 90);
/* oklch */ color: oklch(82.5% 0.136 107.6);
Tailwind
colors: {
  custom: {
    50: '#e0db8d',
    500: '#cfcc5a',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc5a;
$custom-light: #e0db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc5a",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 58.462,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82534,
    "c": 0.13603,
    "h": 107.6
  },
  "luminance": 0.57189
}

Semantic roles & 50–950 ramp

primary
#CFCC5A
secondary
#3F418E
accent
#4DDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFCC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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