#CFC33C#CFC33C

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

Color values

HEX#CFC33C
RGBrgb(207, 195, 60)
HSLhsl(55, 60%, 52%)
HSVhsv(55, 71%, 81%)
CMYKcmyk(0%, 5.8%, 71%, 18.8%)
CIE-LABlab(77.65, -10.93, 65.57)
CIE-LCHlch(77.65, 66.47, 99.46°)
OKLaboklab(80.36% -0.0367 0.1454)
OKLCHoklch(80.36% 0.15 104.2)
XYZxyz(46.0648, 52.6237, 12.0050)
Luminance0.5262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC33C #3C48CF
analogous
#CF7A3C #CFC33C #92CF3C
triadic
#CFC33C #3CCFC3 #C33CCF
tetradic
#CFC33C #3CCF7A #3C48CF #CF3C92
square
#CFC33C #3CCF7A #3C48CF #CF3C92
split-complementary
#CFC33C #3C92CF #7A3CCF
monochromatic
#746D1D #A59B29 #CFC33C #DBD26D #E7E19E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC33C#FFFFFF#000000##000000
##CFC33C1.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)
#D4BC25
Deuteranopia (green-blind)
#D8C345
Tritanopia (blue-blind)
#DEB6A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc33c;
/* rgb */ color: rgb(207, 195, 60);
/* oklch */ color: oklch(80.4% 0.150 104.2);
Tailwind
colors: {
  custom: {
    50: '#e1d47a',
    500: '#cfc33c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc33c;
$custom-light: #e1d47a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc33c",
  "rgb": {
    "r": 207,
    "g": 195,
    "b": 60
  },
  "hsl": {
    "h": 55.102,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.8036,
    "c": 0.14997,
    "h": 104.2
  },
  "luminance": 0.52622
}

Semantic roles & 50–950 ramp

primary
#CFC33C
secondary
#33397D
accent
#51E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC33C

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

Preview Lab → · Contrast checker → · Palette generator →

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