#CFCC4A#CFCC4A

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

Color values

HEX#CFCC4A
RGBrgb(207, 204, 74)
HSLhsl(59, 58%, 55%)
HSVhsv(59, 64%, 81%)
CMYKcmyk(0%, 1.4%, 64.3%, 18.8%)
CIE-LABlab(80.15, -14.72, 62.69)
CIE-LCHlch(80.15, 64.39, 103.21°)
OKLaboklab(82.38% -0.046 0.1416)
OKLCHoklch(82.38% 0.149 108)
XYZxyz(48.5627, 56.9470, 14.9110)
Luminance0.5695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC4A #4A4DCF
analogous
#CF8A4A #CFCC4A #8FCF4A
triadic
#CFCC4A #4ACFCC #CC4ACF
tetradic
#CFCC4A #4ACF8A #4A4DCF #CF4A8F
square
#CFCC4A #4ACF8A #4A4DCF #CF4A8F
split-complementary
#CFCC4A #4A8FCF #8A4ACF
monochromatic
#7D7B21 #AEAB2E #CFCC4A #DCDA7A #E9E7AB

Accessibility & contrast

On white

1.70
#CFCC4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCC4A#FFFFFF#000000##000000
##CFCC4A1.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfcc4a;
/* rgb */ color: rgb(207, 204, 74);
/* oklch */ color: oklch(82.4% 0.149 108.0);
Tailwind
colors: {
  custom: {
    50: '#e1db83',
    500: '#cfcc4a',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc4a;
$custom-light: #e1db83;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc4a",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 58.647,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82381,
    "c": 0.14891,
    "h": 108
  },
  "luminance": 0.56946
}

Semantic roles & 50–950 ramp

primary
#CFCC4A
secondary
#383A85
accent
#4AE146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFCC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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