#CFCA32#CFCA32

#CFCA32 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.8% C 0.162 H 107.5°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#CFCA32
RGBrgb(207, 202, 50)
HSLhsl(58, 62%, 50%)
HSVhsv(58, 76%, 81%)
CMYKcmyk(0%, 2.4%, 75.8%, 18.8%)
CIE-LABlab(79.46, -14.90, 70.67)
CIE-LCHlch(79.46, 72.22, 101.90°)
OKLaboklab(81.79% -0.0488 0.1544)
OKLCHoklch(81.79% 0.162 107.5)
XYZxyz(47.4303, 55.7384, 11.2772)
Luminance0.5574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCA32 #3237CF
analogous
#CF7B32 #CFCA32 #86CF32
triadic
#CFCA32 #32CFCA #CA32CF
tetradic
#CFCA32 #32CF7B #3237CF #CF3286
square
#CFCA32 #32CF7B #3237CF #CF3286
split-complementary
#CFCA32 #3286CF #7B32CF
monochromatic
#6D6A1A #9F9B25 #CFCA32 #DBD764 #E6E495

Accessibility & contrast

On white

1.73
#CFCA32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#CFCA32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCA32
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCA32#FFFFFF#000000##000000
##CFCA321.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC209
Deuteranopia (green-blind)
#DEC73E
Tritanopia (blue-blind)
#DEBCAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfca32;
/* rgb */ color: rgb(207, 202, 50);
/* oklch */ color: oklch(81.8% 0.162 107.5);
Tailwind
colors: {
  custom: {
    50: '#e2d976',
    500: '#cfca32',
    950: '#000000',
  },
}
SCSS
$custom: #cfca32;
$custom-light: #e2d976;
$custom-dark: #000000;
JSON
{
  "hex": "#cfca32",
  "rgb": {
    "r": 207,
    "g": 202,
    "b": 50
  },
  "hsl": {
    "h": 58.089,
    "s": 62.055,
    "l": 50.392
  },
  "oklch": {
    "l": 0.81787,
    "c": 0.16195,
    "h": 107.5
  },
  "luminance": 0.55737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCA32

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

Preview Lab → · Contrast checker → · Palette generator →

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