#CFBD57#CFBD57

#CFBD57 is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.3% C 0.124 H 99.4°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#CFBD57
RGBrgb(207, 189, 87)
HSLhsl(51, 56%, 58%)
HSVhsv(51, 58%, 81%)
CMYKcmyk(0%, 8.7%, 58%, 18.8%)
CIE-LABlab(76.28, -6.21, 52.85)
CIE-LCHlch(76.28, 53.22, 96.70°)
OKLaboklab(79.34% -0.0203 0.1225)
OKLCHoklch(79.34% 0.124 99.4)
XYZxyz(45.6517, 50.3506, 16.3289)
Luminance0.5035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBD57 #5769CF
analogous
#CF8157 #CFBD57 #A5CF57
triadic
#CFBD57 #57CFBD #BD57CF
tetradic
#CFBD57 #57CF81 #5769CF #CF57A5
square
#CFBD57 #57CF81 #5769CF #CF57A5
split-complementary
#CFBD57 #57A5CF #8157CF
monochromatic
#857726 #B5A234 #CFBD57 #DDD087 #EAE2B6

Accessibility & contrast

On white

1.90
#CFBD57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.07
#CFBD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBD57
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBD57#FFFFFF#000000##000000
##CFBD571.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB84D
Deuteranopia (green-blind)
#D2BF5C
Tritanopia (blue-blind)
#DEB1A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cfbd57;
/* rgb */ color: rgb(207, 189, 87);
/* oklch */ color: oklch(79.3% 0.124 99.4);
Tailwind
colors: {
  custom: {
    50: '#e0d08a',
    500: '#cfbd57',
    950: '#000000',
  },
}
SCSS
$custom: #cfbd57;
$custom-light: #e0d08a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbd57",
  "rgb": {
    "r": 207,
    "g": 189,
    "b": 87
  },
  "hsl": {
    "h": 51,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79344,
    "c": 0.12419,
    "h": 99.4
  },
  "luminance": 0.50349
}

Semantic roles & 50–950 ramp

primary
#CFBD57
secondary
#3E4A8C
accent
#5FDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16130C
muted
#84837F

Preview Lab

Preview with #CFBD57

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

Preview Lab → · Contrast checker → · Palette generator →

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