#CFCC4B#CFCC4B

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

Color values

HEX#CFCC4B
RGBrgb(207, 204, 75)
HSLhsl(59, 58%, 55%)
HSVhsv(59, 64%, 81%)
CMYKcmyk(0%, 1.4%, 63.8%, 18.8%)
CIE-LABlab(80.16, -14.66, 62.29)
CIE-LCHlch(80.16, 63.99, 103.24°)
OKLaboklab(82.39% -0.0457 0.1409)
OKLCHoklch(82.39% 0.148 108)
XYZxyz(48.5966, 56.9606, 15.0898)
Luminance0.5696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC4B #4B4ECF
analogous
#CF8A4B #CFCC4B #90CF4B
triadic
#CFCC4B #4BCFCC #CC4BCF
tetradic
#CFCC4B #4BCF8A #4B4ECF #CF4B90
square
#CFCC4B #4BCF8A #4B4ECF #CF4B90
split-complementary
#CFCC4B #4B90CF #8A4BCF
monochromatic
#7E7C22 #AEAB2E #CFCC4B #DCDA7B #E9E7AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFCC4B#FFFFFF#000000##000000
##CFCC4B1.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)
#DCC43A
Deuteranopia (green-blind)
#DEC953
Tritanopia (blue-blind)
#DDBFB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cfcc4b;
/* rgb */ color: rgb(207, 204, 75);
/* oklch */ color: oklch(82.4% 0.148 108.0);
Tailwind
colors: {
  custom: {
    50: '#e1db83',
    500: '#cfcc4b',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc4b;
$custom-light: #e1db83;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc4b",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 75
  },
  "hsl": {
    "h": 58.636,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82389,
    "c": 0.14817,
    "h": 108
  },
  "luminance": 0.56959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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