#CFBC57#CFBC57

#CFBC57 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 79.1% C 0.123 H 98.8°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#CFBC57
RGBrgb(207, 188, 87)
HSLhsl(51, 56%, 58%)
HSVhsv(51, 58%, 81%)
CMYKcmyk(0%, 9.2%, 58%, 18.8%)
CIE-LABlab(76.02, -5.69, 52.55)
CIE-LCHlch(76.02, 52.86, 96.18°)
OKLaboklab(79.14% -0.0188 0.1219)
OKLCHoklch(79.14% 0.123 98.8)
XYZxyz(45.4374, 49.9219, 16.2575)
Luminance0.4992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBC57 #576ACF
analogous
#CF8057 #CFBC57 #A6CF57
triadic
#CFBC57 #57CFBC #BC57CF
tetradic
#CFBC57 #57CF80 #576ACF #CF57A6
square
#CFBC57 #57CF80 #576ACF #CF57A6
split-complementary
#CFBC57 #57A6CF #8057CF
monochromatic
#857626 #B5A134 #CFBC57 #DDCF87 #EAE2B6

Accessibility & contrast

On white

1.91
#CFBC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#CFBC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBC57
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBC57#FFFFFF#000000##000000
##CFBC571.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB74D
Deuteranopia (green-blind)
#D1BE5C
Tritanopia (blue-blind)
#DEB0A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfbc57;
/* rgb */ color: rgb(207, 188, 87);
/* oklch */ color: oklch(79.1% 0.123 98.8);
Tailwind
colors: {
  custom: {
    50: '#e0cf8a',
    500: '#cfbc57',
    950: '#000000',
  },
}
SCSS
$custom: #cfbc57;
$custom-light: #e0cf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbc57",
  "rgb": {
    "r": 207,
    "g": 188,
    "b": 87
  },
  "hsl": {
    "h": 50.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79135,
    "c": 0.12332,
    "h": 98.8
  },
  "luminance": 0.4992
}

Semantic roles & 50–950 ramp

primary
#CFBC57
secondary
#A9B0D9
accent
#61DF49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFBC57

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

Preview Lab → · Contrast checker → · Palette generator →

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