#CFB557#CFB557

#CFB557 is a light, moderate yellow. Relative luminance 0.470; OKLCH L 77.7% C 0.118 H 94.0°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#CFB557
RGBrgb(207, 181, 87)
HSLhsl(47, 56%, 58%)
HSVhsv(47, 58%, 81%)
CMYKcmyk(0%, 12.6%, 58%, 18.8%)
CIE-LABlab(74.19, -2.03, 50.47)
CIE-LCHlch(74.19, 50.51, 92.31°)
OKLaboklab(77.69% -0.0083 0.1174)
OKLCHoklch(77.69% 0.118 94)
XYZxyz(43.9781, 47.0034, 15.7711)
Luminance0.4700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB557 #5771CF
analogous
#CF7957 #CFB557 #ADCF57
triadic
#CFB557 #57CFB5 #B557CF
tetradic
#CFB557 #57CF79 #5771CF #CF57AD
square
#CFB557 #57CF79 #5771CF #CF57AD
split-complementary
#CFB557 #57ADCF #7957CF
monochromatic
#857126 #B59934 #CFB557 #DDCA87 #EADFB6

Accessibility & contrast

On white

2.02
#CFB557 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#CFB557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB557
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB557#FFFFFF#000000##000000
##CFB5571.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B24E
Deuteranopia (green-blind)
#CCBA5B
Tritanopia (blue-blind)
#DEA9A0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb557;
/* rgb */ color: rgb(207, 181, 87);
/* oklch */ color: oklch(77.7% 0.118 94.0);
Tailwind
colors: {
  custom: {
    50: '#e0ca89',
    500: '#cfb557',
    950: '#000000',
  },
}
SCSS
$custom: #cfb557;
$custom-light: #e0ca89;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb557",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 87
  },
  "hsl": {
    "h": 47,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.77688,
    "c": 0.11769,
    "h": 94
  },
  "luminance": 0.47001
}

Semantic roles & 50–950 ramp

primary
#CFB557
secondary
#A9B3D9
accent
#69DF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB557

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

Preview Lab → · Contrast checker → · Palette generator →

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