#CFBF50#CFBF50

#CFBF50 is a light, vivid yellow. Relative luminance 0.511; OKLCH L 79.7% C 0.132 H 101.1°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#CFBF50
RGBrgb(207, 191, 80)
HSLhsl(52, 57%, 56%)
HSVhsv(52, 61%, 81%)
CMYKcmyk(0%, 7.7%, 61.4%, 18.8%)
CIE-LABlab(76.74, -7.73, 56.52)
CIE-LCHlch(76.74, 57.05, 97.79°)
OKLaboklab(79.69% -0.0255 0.1295)
OKLCHoklch(79.69% 0.132 101.1)
XYZxyz(45.8127, 51.1080, 15.0395)
Luminance0.5111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF50 #5060CF
analogous
#CF8050 #CFBF50 #A0CF50
triadic
#CFBF50 #50CFBF #BF50CF
tetradic
#CFBF50 #50CF80 #5060CF #CF50A0
square
#CFBF50 #50CF80 #5060CF #CF50A0
split-complementary
#CFBF50 #50A0CF #8050CF
monochromatic
#817523 #B1A131 #CFBF50 #DCD180 #E9E2B0

Accessibility & contrast

On white

1.87
#CFBF50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#CFBF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF50
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF50#FFFFFF#000000##000000
##CFBF501.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA43
Deuteranopia (green-blind)
#D4C056
Tritanopia (blue-blind)
#DEB2A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbf50;
/* rgb */ color: rgb(207, 191, 80);
/* oklch */ color: oklch(79.7% 0.132 101.1);
Tailwind
colors: {
  custom: {
    50: '#e1d285',
    500: '#cfbf50',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf50;
$custom-light: #e1d285;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf50",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 80
  },
  "hsl": {
    "h": 52.441,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79687,
    "c": 0.13194,
    "h": 101.1
  },
  "luminance": 0.51106
}

Semantic roles & 50–950 ramp

primary
#CFBF50
secondary
#3B4489
accent
#5BE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CFBF50

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

Preview Lab → · Contrast checker → · Palette generator →

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