#CFCB32#CFCB32

#CFCB32 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.0% C 0.163 H 107.9°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#CFCB32
RGBrgb(207, 203, 50)
HSLhsl(58, 62%, 50%)
HSVhsv(58, 76%, 81%)
CMYKcmyk(0%, 1.9%, 75.8%, 18.8%)
CIE-LABlab(79.73, -15.40, 70.92)
CIE-LCHlch(79.73, 72.57, 102.25°)
OKLaboklab(82% -0.0502 0.1549)
OKLCHoklch(82% 0.163 107.9)
XYZxyz(47.6657, 56.2092, 11.3556)
Luminance0.5621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCB32 #3236CF
analogous
#CF7C32 #CFCB32 #85CF32
triadic
#CFCB32 #32CFCB #CB32CF
tetradic
#CFCB32 #32CF7C #3236CF #CF3285
square
#CFCB32 #32CF7C #3236CF #CF3285
split-complementary
#CFCB32 #3285CF #7C32CF
monochromatic
#6D6B1A #9F9C25 #CFCB32 #DBD864 #E6E495

Accessibility & contrast

On white

1.72
#CFCB32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#CFCB32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCB32
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCB32#FFFFFF#000000##000000
##CFCB321.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC308
Deuteranopia (green-blind)
#DFC83F
Tritanopia (blue-blind)
#DEBDAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfcb32;
/* rgb */ color: rgb(207, 203, 50);
/* oklch */ color: oklch(82.0% 0.163 107.9);
Tailwind
colors: {
  custom: {
    50: '#e2da76',
    500: '#cfcb32',
    950: '#000000',
  },
}
SCSS
$custom: #cfcb32;
$custom-light: #e2da76;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcb32",
  "rgb": {
    "r": 207,
    "g": 203,
    "b": 50
  },
  "hsl": {
    "h": 58.471,
    "s": 62.055,
    "l": 50.392
  },
  "oklch": {
    "l": 0.82,
    "c": 0.16287,
    "h": 107.9
  },
  "luminance": 0.56208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFCB32

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

Preview Lab → · Contrast checker → · Palette generator →

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