#CBC557#CBC557

#CBC557 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.7% C 0.132 H 106.1°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#CBC557
RGBrgb(203, 197, 87)
HSLhsl(57, 53%, 57%)
HSVhsv(57, 57%, 80%)
CMYKcmyk(0%, 3%, 57.1%, 20.4%)
CIE-LABlab(78.06, -11.98, 54.77)
CIE-LCHlch(78.06, 56.06, 102.34°)
OKLaboklab(80.68% -0.0366 0.1267)
OKLCHoklch(80.68% 0.132 106.1)
XYZxyz(46.3166, 53.3186, 16.8667)
Luminance0.5332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC557 #575DCB
analogous
#CB8B57 #CBC557 #97CB57
triadic
#CBC557 #57CBC5 #C557CB
tetradic
#CBC557 #57CB8B #575DCB #CB5797
square
#CBC557 #57CB8B #575DCB #CB5797
split-complementary
#CBC557 #5797CB #8B57CB
monochromatic
#807B28 #AFA836 #CBC557 #D9D586 #E8E5B4

Accessibility & contrast

On white

1.80
#CBC557 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.66
#CBC557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC557
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC557#FFFFFF#000000##000000
##CBC5571.001.8011.6611.66
#FFFFFF1.801.0021.0021.00
#00000011.6621.001.001.00
##00000011.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4B
Deuteranopia (green-blind)
#D7C35D
Tritanopia (blue-blind)
#D8B9AD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc557;
/* rgb */ color: rgb(203, 197, 87);
/* oklch */ color: oklch(80.7% 0.132 106.1);
Tailwind
colors: {
  custom: {
    50: '#ddd68a',
    500: '#cbc557',
    950: '#000000',
  },
}
SCSS
$custom: #cbc557;
$custom-light: #ddd68a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc557",
  "rgb": {
    "r": 203,
    "g": 197,
    "b": 87
  },
  "hsl": {
    "h": 56.897,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80675,
    "c": 0.13187,
    "h": 106.1
  },
  "luminance": 0.53317
}

Semantic roles & 50–950 ramp

primary
#CBC557
secondary
#3F4288
accent
#53DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC557

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

Preview Lab → · Contrast checker → · Palette generator →

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