#CFCC4F#CFCC4F

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

Color values

HEX#CFCC4F
RGBrgb(207, 204, 79)
HSLhsl(59, 57%, 56%)
HSVhsv(59, 62%, 81%)
CMYKcmyk(0%, 1.4%, 61.8%, 18.8%)
CIE-LABlab(80.19, -14.41, 60.67)
CIE-LCHlch(80.19, 62.36, 103.36°)
OKLaboklab(82.43% -0.0446 0.1381)
OKLCHoklch(82.43% 0.145 107.9)
XYZxyz(48.7379, 57.0171, 15.8337)
Luminance0.5702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC4F #4F52CF
analogous
#CF8C4F #CFCC4F #92CF4F
triadic
#CFCC4F #4FCFCC #CC4FCF
tetradic
#CFCC4F #4FCF8C #4F52CF #CF4F92
square
#CFCC4F #4FCF8C #4F52CF #CF4F92
split-complementary
#CFCC4F #4F92CF #8C4FCF
monochromatic
#817E23 #B1AE30 #CFCC4F #DCDA7F #E9E8AF

Accessibility & contrast

On white

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

On black

12.40
#CFCC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC4F
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC4F#FFFFFF#000000##000000
##CFCC4F1.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC440
Deuteranopia (green-blind)
#DEC957
Tritanopia (blue-blind)
#DDC0B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcc4f;
/* rgb */ color: rgb(207, 204, 79);
/* oklch */ color: oklch(82.4% 0.145 107.9);
Tailwind
colors: {
  custom: {
    50: '#e1db86',
    500: '#cfcc4f',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc4f;
$custom-light: #e1db86;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc4f",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 58.594,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82425,
    "c": 0.14513,
    "h": 107.9
  },
  "luminance": 0.57016
}

Semantic roles & 50–950 ramp

primary
#CFCC4F
secondary
#3A3C88
accent
#4BE047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFCC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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