#CFCC3B#CFCC3B

#CFCC3B is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.3% C 0.159 H 108.2°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#CFCC3B
RGBrgb(207, 204, 59)
HSLhsl(59, 61%, 52%)
HSVhsv(59, 71%, 81%)
CMYKcmyk(0%, 1.4%, 71.5%, 18.8%)
CIE-LABlab(80.05, -15.51, 68.24)
CIE-LCHlch(80.05, 69.99, 102.81°)
OKLaboklab(82.27% -0.0497 0.1509)
OKLCHoklch(82.27% 0.159 108.2)
XYZxyz(48.1162, 56.7684, 12.5597)
Luminance0.5677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCC3B #3B3ECF
analogous
#CF823B #CFCC3B #88CF3B
triadic
#CFCC3B #3BCFCC #CC3BCF
tetradic
#CFCC3B #3BCF82 #3B3ECF #CF3B88
square
#CFCC3B #3BCF82 #3B3ECF #CF3B88
split-complementary
#CFCC3B #3B88CF #823BCF
monochromatic
#73721C #A5A228 #CFCC3B #DBD96C #E7E69D

Accessibility & contrast

On white

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

On black

12.35
#CFCC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCC3B
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCC3B#FFFFFF#000000##000000
##CFCC3B1.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC420
Deuteranopia (green-blind)
#DFC946
Tritanopia (blue-blind)
#DEBFB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfcc3b;
/* rgb */ color: rgb(207, 204, 59);
/* oklch */ color: oklch(82.3% 0.159 108.2);
Tailwind
colors: {
  custom: {
    50: '#e1db7b',
    500: '#cfcc3b',
    950: '#000000',
  },
}
SCSS
$custom: #cfcc3b;
$custom-light: #e1db7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcc3b",
  "rgb": {
    "r": 207,
    "g": 204,
    "b": 59
  },
  "hsl": {
    "h": 58.784,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.82268,
    "c": 0.15886,
    "h": 108.2
  },
  "luminance": 0.56767
}

Semantic roles & 50–950 ramp

primary
#CFCC3B
secondary
#32347C
accent
#47E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFCC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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