#CFCC4C#CFCC4C

#CFCC4C is a very light, vivid yellow. Relative luminance 0.570; OKLCH L 82.4% C 0.147 H 107.9°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#CFCC4C
RGBrgb(207, 204, 76)
HSLhsl(59, 58%, 55%)
HSVhsv(59, 63%, 81%)
CMYKcmyk(0%, 1.4%, 63.3%, 18.8%)
CIE-LABlab(80.17, -14.60, 61.89)
CIE-LCHlch(80.17, 63.59, 103.27°)
OKLaboklab(82.4% -0.0454 0.1403)
OKLCHoklch(82.4% 0.147 107.9)
XYZxyz(48.6311, 56.9744, 15.2715)
Luminance0.5697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC4C #4C4FCF
analogous
#CF8A4C #CFCC4C #90CF4C
triadic
#CFCC4C #4CCFCC #CC4CCF
tetradic
#CFCC4C #4CCF8A #4C4FCF #CF4C90
square
#CFCC4C #4CCF8A #4C4FCF #CF4C90
split-complementary
#CFCC4C #4C90CF #8A4CCF
monochromatic
#7F7D22 #AFAC2F #CFCC4C #DCDA7C #E9E7AD

Accessibility & contrast

On white

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

On black

12.39
#CFCC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC4C
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC4C#FFFFFF#000000##000000
##CFCC4C1.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC43C
Deuteranopia (green-blind)
#DEC954
Tritanopia (blue-blind)
#DDBFB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcc4c;
/* rgb */ color: rgb(207, 204, 76);
/* oklch */ color: oklch(82.4% 0.147 107.9);
Tailwind
colors: {
  custom: {
    50: '#e1db84',
    500: '#cfcc4c',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc4c;
$custom-light: #e1db84;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc4c",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 76
  },
  "hsl": {
    "h": 58.626,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82398,
    "c": 0.14742,
    "h": 107.9
  },
  "luminance": 0.56973
}

Semantic roles & 50–950 ramp

primary
#CFCC4C
secondary
#393B86
accent
#4AE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFCC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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