#CFC932#CFC932

#CFC932 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.6% C 0.161 H 107.1°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#CFC932
RGBrgb(207, 201, 50)
HSLhsl(58, 62%, 50%)
HSVhsv(58, 76%, 81%)
CMYKcmyk(0%, 2.9%, 75.8%, 18.8%)
CIE-LABlab(79.20, -14.39, 70.43)
CIE-LCHlch(79.20, 71.88, 101.55°)
OKLaboklab(81.57% -0.0474 0.1539)
OKLCHoklch(81.57% 0.161 107.1)
XYZxyz(47.1964, 55.2707, 11.1992)
Luminance0.5527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC932 #3238CF
analogous
#CF7A32 #CFC932 #86CF32
triadic
#CFC932 #32CFC9 #C932CF
tetradic
#CFC932 #32CF7A #3238CF #CF3286
square
#CFC932 #32CF7A #3238CF #CF3286
split-complementary
#CFC932 #3286CF #7A32CF
monochromatic
#6D6A1A #9F9A25 #CFC932 #DBD664 #E6E395

Accessibility & contrast

On white

1.74
#CFC932 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#CFC932 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC932
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC932#FFFFFF#000000##000000
##CFC9321.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC10A
Deuteranopia (green-blind)
#DDC73E
Tritanopia (blue-blind)
#DEBBAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc932;
/* rgb */ color: rgb(207, 201, 50);
/* oklch */ color: oklch(81.6% 0.161 107.1);
Tailwind
colors: {
  custom: {
    50: '#e2d976',
    500: '#cfc932',
    950: '#000000',
  },
}
SCSS
$custom: #cfc932;
$custom-light: #e2d976;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc932",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 50
  },
  "hsl": {
    "h": 57.707,
    "s": 62.055,
    "l": 50.392
  },
  "oklch": {
    "l": 0.81573,
    "c": 0.16102,
    "h": 107.1
  },
  "luminance": 0.55269
}

Semantic roles & 50–950 ramp

primary
#CFC932
secondary
#2F3176
accent
#49E543
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CFC932

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

Preview Lab → · Contrast checker → · Palette generator →

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