#CFC732#CFC732

#CFC732 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.1% C 0.159 H 106.3°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CFC732
RGBrgb(207, 199, 50)
HSLhsl(57, 62%, 50%)
HSVhsv(57, 76%, 81%)
CMYKcmyk(0%, 3.9%, 75.8%, 18.8%)
CIE-LABlab(78.66, -13.39, 69.94)
CIE-LCHlch(78.66, 71.21, 100.84°)
OKLaboklab(81.15% -0.0446 0.1529)
OKLCHoklch(81.15% 0.159 106.3)
XYZxyz(46.7332, 54.3443, 11.0448)
Luminance0.5434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC732 #323ACF
analogous
#CF7932 #CFC732 #88CF32
triadic
#CFC732 #32CFC7 #C732CF
tetradic
#CFC732 #32CF79 #323ACF #CF3288
square
#CFC732 #32CF79 #323ACF #CF3288
split-complementary
#CFC732 #3288CF #7932CF
monochromatic
#6D691A #9F9825 #CFC732 #DBD564 #E6E295

Accessibility & contrast

On white

1.77
#CFC732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#CFC732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC732
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC732#FFFFFF#000000##000000
##CFC7321.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF0C
Deuteranopia (green-blind)
#DCC53E
Tritanopia (blue-blind)
#DEB9AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfc732;
/* rgb */ color: rgb(207, 199, 50);
/* oklch */ color: oklch(81.1% 0.159 106.3);
Tailwind
colors: {
  custom: {
    50: '#e2d776',
    500: '#cfc732',
    950: '#000000',
  },
}
SCSS
$custom: #cfc732;
$custom-light: #e2d776;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc732",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 50
  },
  "hsl": {
    "h": 56.943,
    "s": 62.055,
    "l": 50.392
  },
  "oklch": {
    "l": 0.81147,
    "c": 0.15922,
    "h": 106.3
  },
  "luminance": 0.54343
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFC732

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

Preview Lab → · Contrast checker → · Palette generator →

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