#CFC832#CFC832

#CFC832 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.4% C 0.160 H 106.7°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#CFC832
RGBrgb(207, 200, 50)
HSLhsl(57, 62%, 50%)
HSVhsv(57, 76%, 81%)
CMYKcmyk(0%, 3.4%, 75.8%, 18.8%)
CIE-LABlab(78.93, -13.89, 70.18)
CIE-LCHlch(78.93, 71.54, 101.20°)
OKLaboklab(81.36% -0.046 0.1534)
OKLCHoklch(81.36% 0.16 106.7)
XYZxyz(46.9641, 54.8059, 11.1217)
Luminance0.5480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC832 #3239CF
analogous
#CF7A32 #CFC832 #87CF32
triadic
#CFC832 #32CFC8 #C832CF
tetradic
#CFC832 #32CF7A #3239CF #CF3287
square
#CFC832 #32CF7A #3239CF #CF3287
split-complementary
#CFC832 #3287CF #7A32CF
monochromatic
#6D691A #9F9925 #CFC832 #DBD564 #E6E395

Accessibility & contrast

On white

1.76
#CFC832 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.96
#CFC832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC832
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC832#FFFFFF#000000##000000
##CFC8321.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C00B
Deuteranopia (green-blind)
#DCC63E
Tritanopia (blue-blind)
#DEBAAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc832;
/* rgb */ color: rgb(207, 200, 50);
/* oklch */ color: oklch(81.4% 0.160 106.7);
Tailwind
colors: {
  custom: {
    50: '#e2d876',
    500: '#cfc832',
    950: '#000000',
  },
}
SCSS
$custom: #cfc832;
$custom-light: #e2d876;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc832",
  "rgb": {
    "r": 207,
    "g": 200,
    "b": 50
  },
  "hsl": {
    "h": 57.325,
    "s": 62.055,
    "l": 50.392
  },
  "oklch": {
    "l": 0.8136,
    "c": 0.16012,
    "h": 106.7
  },
  "luminance": 0.54804
}

Semantic roles & 50–950 ramp

primary
#CFC832
secondary
#2F3276
accent
#4AE543
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CFC832

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

Preview Lab → · Contrast checker → · Palette generator →

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