#CFC33B#CFC33B

#CFC33B is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.4% C 0.151 H 104.2°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#CFC33B
RGBrgb(207, 195, 59)
HSLhsl(55, 61%, 52%)
HSVhsv(55, 71%, 81%)
CMYKcmyk(0%, 5.8%, 71.5%, 18.8%)
CIE-LABlab(77.65, -10.97, 65.92)
CIE-LCHlch(77.65, 66.83, 99.45°)
OKLaboklab(80.35% -0.037 0.146)
OKLCHoklch(80.35% 0.151 104.2)
XYZxyz(46.0386, 52.6132, 11.8671)
Luminance0.5261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC33B #3B47CF
analogous
#CF793B #CFC33B #91CF3B
triadic
#CFC33B #3BCFC3 #C33BCF
tetradic
#CFC33B #3BCF79 #3B47CF #CF3B91
square
#CFC33B #3BCF79 #3B47CF #CF3B91
split-complementary
#CFC33B #3B91CF #793BCF
monochromatic
#736C1C #A59A28 #CFC33B #DBD26C #E7E19D

Accessibility & contrast

On white

1.82
#CFC33B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#CFC33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC33B
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC33B#FFFFFF#000000##000000
##CFC33B1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC24
Deuteranopia (green-blind)
#D8C344
Tritanopia (blue-blind)
#DEB6A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc33b;
/* rgb */ color: rgb(207, 195, 59);
/* oklch */ color: oklch(80.4% 0.151 104.2);
Tailwind
colors: {
  custom: {
    50: '#e1d47a',
    500: '#cfc33b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc33b;
$custom-light: #e1d47a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc33b",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 59
  },
  "hsl": {
    "h": 55.135,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80354,
    "c": 0.15059,
    "h": 104.2
  },
  "luminance": 0.52611
}

Semantic roles & 50–950 ramp

primary
#CFC33B
secondary
#32387C
accent
#51E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC33B

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

Preview Lab → · Contrast checker → · Palette generator →

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