#CFBF52#CFBF52

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

Color values

HEX#CFBF52
RGBrgb(207, 191, 82)
HSLhsl(52, 57%, 57%)
HSVhsv(52, 60%, 81%)
CMYKcmyk(0%, 7.7%, 60.4%, 18.8%)
CIE-LABlab(76.76, -7.59, 55.65)
CIE-LCHlch(76.76, 56.17, 97.77°)
OKLaboklab(79.71% -0.0249 0.1279)
OKLCHoklch(79.71% 0.13 101)
XYZxyz(45.8877, 51.1380, 15.4345)
Luminance0.5114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF52 #5262CF
analogous
#CF8152 #CFBF52 #A1CF52
triadic
#CFBF52 #52CFBF #BF52CF
tetradic
#CFBF52 #52CF81 #5262CF #CF52A1
square
#CFBF52 #52CF81 #5262CF #CF52A1
split-complementary
#CFBF52 #52A1CF #8152CF
monochromatic
#827624 #B2A231 #CFBF52 #DCD182 #EAE2B2

Accessibility & contrast

On white

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

On black

11.23
#CFBF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF52
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF52#FFFFFF#000000##000000
##CFBF521.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA46
Deuteranopia (green-blind)
#D4C058
Tritanopia (blue-blind)
#DEB3A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbf52;
/* rgb */ color: rgb(207, 191, 82);
/* oklch */ color: oklch(79.7% 0.130 101.0);
Tailwind
colors: {
  custom: {
    50: '#e1d287',
    500: '#cfbf52',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf52;
$custom-light: #e1d287;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf52",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 52.32,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79708,
    "c": 0.13027,
    "h": 101
  },
  "luminance": 0.51136
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFBF52

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

Preview Lab → · Contrast checker → · Palette generator →

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