#CFC05B#CFC05B

#CFC05B is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.123 H 101.0°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#CFC05B
RGBrgb(207, 192, 91)
HSLhsl(52, 55%, 58%)
HSVhsv(52, 56%, 81%)
CMYKcmyk(0%, 7.2%, 56%, 18.8%)
CIE-LABlab(77.11, -7.45, 51.95)
CIE-LCHlch(77.11, 52.48, 98.17°)
OKLaboklab(80.02% -0.0234 0.121)
OKLCHoklch(80.02% 0.123 101)
XYZxyz(46.4717, 51.7218, 17.4309)
Luminance0.5172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC05B #5B6ACF
analogous
#CF865B #CFC05B #A4CF5B
triadic
#CFC05B #5BCFC0 #C05BCF
tetradic
#CFC05B #5BCF86 #5B6ACF #CF5BA4
square
#CFC05B #5BCF86 #5B6ACF #CF5BA4
split-complementary
#CFC05B #5BA4CF #865BCF
monochromatic
#887B28 #B7A636 #CFC05B #DDD28A #EBE4BA

Accessibility & contrast

On white

1.85
#CFC05B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#CFC05B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC05B
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC05B#FFFFFF#000000##000000
##CFC05B1.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB51
Deuteranopia (green-blind)
#D4C160
Tritanopia (blue-blind)
#DDB4A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfc05b;
/* rgb */ color: rgb(207, 192, 91);
/* oklch */ color: oklch(80.0% 0.123 101.0);
Tailwind
colors: {
  custom: {
    50: '#e0d28c',
    500: '#cfc05b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc05b;
$custom-light: #e0d28c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc05b",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 91
  },
  "hsl": {
    "h": 52.241,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80015,
    "c": 0.12328,
    "h": 101
  },
  "luminance": 0.5172
}

Semantic roles & 50–950 ramp

primary
#CFC05B
secondary
#404A8F
accent
#5DDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC05B

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

Preview Lab → · Contrast checker → · Palette generator →

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