#CFBC50#CFBC50

#CFBC50 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.1% C 0.129 H 99.4°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#CFBC50
RGBrgb(207, 188, 80)
HSLhsl(51, 57%, 56%)
HSVhsv(51, 61%, 81%)
CMYKcmyk(0%, 9.2%, 61.4%, 18.8%)
CIE-LABlab(75.95, -6.18, 55.65)
CIE-LCHlch(75.95, 56.00, 96.34°)
OKLaboklab(79.06% -0.021 0.1276)
OKLCHoklch(79.06% 0.129 99.4)
XYZxyz(45.1651, 49.8130, 14.8237)
Luminance0.4981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBC50 #5063CF
analogous
#CF7D50 #CFBC50 #A3CF50
triadic
#CFBC50 #50CFBC #BC50CF
tetradic
#CFBC50 #50CF7D #5063CF #CF50A3
square
#CFBC50 #50CF7D #5063CF #CF50A3
split-complementary
#CFBC50 #50A3CF #7D50CF
monochromatic
#817323 #B19E31 #CFBC50 #DCCE80 #E9E1B0

Accessibility & contrast

On white

1.92
#CFBC50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#CFBC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBC50
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBC50#FFFFFF#000000##000000
##CFBC501.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB744
Deuteranopia (green-blind)
#D2BE55
Tritanopia (blue-blind)
#DEAFA5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfbc50;
/* rgb */ color: rgb(207, 188, 80);
/* oklch */ color: oklch(79.1% 0.129 99.4);
Tailwind
colors: {
  custom: {
    50: '#e1cf85',
    500: '#cfbc50',
    950: '#000000',
  },
}
SCSS
$custom: #cfbc50;
$custom-light: #e1cf85;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbc50",
  "rgb": {
    "r": 207,
    "g": 188,
    "b": 80
  },
  "hsl": {
    "h": 51.024,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79061,
    "c": 0.12933,
    "h": 99.4
  },
  "luminance": 0.49811
}

Semantic roles & 50–950 ramp

primary
#CFBC50
secondary
#A3ABD8
accent
#5EE048
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFBC50

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

Preview Lab → · Contrast checker → · Palette generator →

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