#CFBF56#CFBF56

#CFBF56 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.8% C 0.127 H 100.7°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#CFBF56
RGBrgb(207, 191, 86)
HSLhsl(52, 56%, 57%)
HSVhsv(52, 58%, 81%)
CMYKcmyk(0%, 7.7%, 58.5%, 18.8%)
CIE-LABlab(76.80, -7.31, 53.89)
CIE-LCHlch(76.80, 54.39, 97.73°)
OKLaboklab(79.75% -0.0236 0.1246)
OKLCHoklch(79.75% 0.127 100.7)
XYZxyz(46.0443, 51.2007, 16.2596)
Luminance0.5120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF56 #5666CF
analogous
#CF8256 #CFBF56 #A3CF56
triadic
#CFBF56 #56CFBF #BF56CF
tetradic
#CFBF56 #56CF82 #5666CF #CF56A3
square
#CFBF56 #56CF82 #5666CF #CF56A3
split-complementary
#CFBF56 #56A3CF #8256CF
monochromatic
#857826 #B5A333 #CFBF56 #DDD186 #EAE3B5

Accessibility & contrast

On white

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

On black

11.24
#CFBF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBF56
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBF56#FFFFFF#000000##000000
##CFBF561.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4B
Deuteranopia (green-blind)
#D4C05B
Tritanopia (blue-blind)
#DEB3A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfbf56;
/* rgb */ color: rgb(207, 191, 86);
/* oklch */ color: oklch(79.8% 0.127 100.7);
Tailwind
colors: {
  custom: {
    50: '#e0d289',
    500: '#cfbf56',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf56;
$custom-light: #e0d289;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf56",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 86
  },
  "hsl": {
    "h": 52.066,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.7975,
    "c": 0.12684,
    "h": 100.7
  },
  "luminance": 0.51199
}

Semantic roles & 50–950 ramp

primary
#CFBF56
secondary
#3D488C
accent
#5DDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFBF56

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

Preview Lab → · Contrast checker → · Palette generator →

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