#CFC15B#CFC15B

#CFC15B is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.2% C 0.124 H 101.6°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#CFC15B
RGBrgb(207, 193, 91)
HSLhsl(53, 55%, 58%)
HSVhsv(53, 56%, 81%)
CMYKcmyk(0%, 6.8%, 56%, 18.8%)
CIE-LABlab(77.38, -7.97, 52.25)
CIE-LCHlch(77.38, 52.85, 98.67°)
OKLaboklab(80.22% -0.0249 0.1217)
OKLCHoklch(80.22% 0.124 101.6)
XYZxyz(46.6920, 52.1624, 17.5043)
Luminance0.5216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC15B #5B69CF
analogous
#CF875B #CFC15B #A3CF5B
triadic
#CFC15B #5BCFC1 #C15BCF
tetradic
#CFC15B #5BCF87 #5B69CF #CF5BA3
square
#CFC15B #5BCF87 #5B69CF #CF5BA3
split-complementary
#CFC15B #5BA3CF #875BCF
monochromatic
#887C28 #B7A836 #CFC15B #DDD38A #EBE5BA

Accessibility & contrast

On white

1.84
#CFC15B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#CFC15B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC15B
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC15B#FFFFFF#000000##000000
##CFC15B1.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BC51
Deuteranopia (green-blind)
#D5C260
Tritanopia (blue-blind)
#DDB5AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc15b;
/* rgb */ color: rgb(207, 193, 91);
/* oklch */ color: oklch(80.2% 0.124 101.6);
Tailwind
colors: {
  custom: {
    50: '#e0d38d',
    500: '#cfc15b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc15b;
$custom-light: #e0d38d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc15b",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 91
  },
  "hsl": {
    "h": 52.759,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80224,
    "c": 0.12421,
    "h": 101.6
  },
  "luminance": 0.52161
}

Semantic roles & 50–950 ramp

primary
#CFC15B
secondary
#40498F
accent
#5CDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC15B

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

Preview Lab → · Contrast checker → · Palette generator →

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