#CFC43C#CFC43C

#CFC43C is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.6% C 0.151 H 104.7°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#CFC43C
RGBrgb(207, 196, 60)
HSLhsl(56, 60%, 52%)
HSVhsv(56, 71%, 81%)
CMYKcmyk(0%, 5.3%, 71%, 18.8%)
CIE-LABlab(77.92, -11.43, 65.83)
CIE-LCHlch(77.92, 66.81, 99.85°)
OKLaboklab(80.57% -0.0382 0.146)
OKLCHoklch(80.57% 0.151 104.7)
XYZxyz(46.2896, 53.0733, 12.0800)
Luminance0.5307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC43C #3C47CF
analogous
#CF7A3C #CFC43C #91CF3C
triadic
#CFC43C #3CCFC4 #C43CCF
tetradic
#CFC43C #3CCF7A #3C47CF #CF3C91
square
#CFC43C #3CCF7A #3C47CF #CF3C91
split-complementary
#CFC43C #3C91CF #7A3CCF
monochromatic
#746D1D #A59C29 #CFC43C #DBD36D #E7E29E

Accessibility & contrast

On white

1.81
#CFC43C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#CFC43C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC43C
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC43C#FFFFFF#000000##000000
##CFC43C1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD25
Deuteranopia (green-blind)
#D9C345
Tritanopia (blue-blind)
#DEB7A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc43c;
/* rgb */ color: rgb(207, 196, 60);
/* oklch */ color: oklch(80.6% 0.151 104.7);
Tailwind
colors: {
  custom: {
    50: '#e1d57b',
    500: '#cfc43c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc43c;
$custom-light: #e1d57b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc43c",
  "rgb": {
    "r": 207,
    "g": 196,
    "b": 60
  },
  "hsl": {
    "h": 55.51,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80572,
    "c": 0.15086,
    "h": 104.7
  },
  "luminance": 0.53071
}

Semantic roles & 50–950 ramp

primary
#CFC43C
secondary
#33387D
accent
#50E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC43C

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

Preview Lab → · Contrast checker → · Palette generator →

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