#CFBF57#CFBF57

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

Color values

HEX#CFBF57
RGBrgb(207, 191, 87)
HSLhsl(52, 56%, 58%)
HSVhsv(52, 58%, 81%)
CMYKcmyk(0%, 7.7%, 58%, 18.8%)
CIE-LABlab(76.81, -7.24, 53.45)
CIE-LCHlch(76.81, 53.94, 97.71°)
OKLaboklab(79.76% -0.0233 0.1238)
OKLCHoklch(79.76% 0.126 100.6)
XYZxyz(46.0849, 51.2169, 16.4733)
Luminance0.5121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBF57 #5767CF
analogous
#CF8357 #CFBF57 #A3CF57
triadic
#CFBF57 #57CFBF #BF57CF
tetradic
#CFBF57 #57CF83 #5767CF #CF57A3
square
#CFBF57 #57CF83 #5767CF #CF57A3
split-complementary
#CFBF57 #57A3CF #8357CF
monochromatic
#857926 #B5A434 #CFBF57 #DDD187 #EAE3B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFBF57#FFFFFF#000000##000000
##CFBF571.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)
#CFBA4C
Deuteranopia (green-blind)
#D4C05C
Tritanopia (blue-blind)
#DDB3A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfbf57;
/* rgb */ color: rgb(207, 191, 87);
/* oklch */ color: oklch(79.8% 0.126 100.6);
Tailwind
colors: {
  custom: {
    50: '#e0d28a',
    500: '#cfbf57',
    950: '#000000',
  },
}
SCSS
$custom: #cfbf57;
$custom-light: #e0d28a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbf57",
  "rgb": {
    "r": 207,
    "g": 191,
    "b": 87
  },
  "hsl": {
    "h": 52,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79761,
    "c": 0.12597,
    "h": 100.6
  },
  "luminance": 0.51215
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFBF57

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

Preview Lab → · Contrast checker → · Palette generator →

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