#CFCF32#CFCF32

#CFCF32 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 82.9% C 0.167 H 109.5°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#CFCF32
RGBrgb(207, 207, 50)
HSLhsl(60, 62%, 50%)
HSVhsv(60, 76%, 81%)
CMYKcmyk(0%, 0%, 75.8%, 18.8%)
CIE-LABlab(80.81, -17.39, 71.89)
CIE-LCHlch(80.81, 73.97, 103.59°)
OKLaboklab(82.86% -0.0557 0.157)
OKLCHoklch(82.86% 0.167 109.5)
XYZxyz(48.6225, 58.1228, 11.6746)
Luminance0.5812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF32 #3232CF
analogous
#CF8032 #CFCF32 #80CF32
triadic
#CFCF32 #32CFCF #CF32CF
tetradic
#CFCF32 #32CF80 #3232CF #CF3280
square
#CFCF32 #32CF80 #3232CF #CF3280
split-complementary
#CFCF32 #3280CF #8032CF
monochromatic
#6D6D1A #9F9F25 #CFCF32 #DBDB64 #E6E695

Accessibility & contrast

On white

1.66
#CFCF32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#CFCF32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF32
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF32#FFFFFF#000000##000000
##CFCF321.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C604
Deuteranopia (green-blind)
#E2CB3F
Tritanopia (blue-blind)
#DEC2B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf32;
/* rgb */ color: rgb(207, 207, 50);
/* oklch */ color: oklch(82.9% 0.167 109.5);
Tailwind
colors: {
  custom: {
    50: '#e2dd77',
    500: '#cfcf32',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf32;
$custom-light: #e2dd77;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf32",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 50
  },
  "hsl": {
    "h": 60,
    "s": 62.055,
    "l": 50.392
  },
  "oklch": {
    "l": 0.82858,
    "c": 0.16662,
    "h": 109.5
  },
  "luminance": 0.58121
}

Semantic roles & 50–950 ramp

primary
#CFCF32
secondary
#2F2F76
accent
#43E543
background
#FEFEFB
surface
#FDFCF1
border
#D5D5CB
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFCF32

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

Preview Lab → · Contrast checker → · Palette generator →

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