#CBC657#CBC657

#CBC657 is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.9% C 0.133 H 106.6°. Best body text is #000000 at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#CBC657
RGBrgb(203, 198, 87)
HSLhsl(57, 53%, 57%)
HSVhsv(57, 57%, 80%)
CMYKcmyk(0%, 2.5%, 57.1%, 20.4%)
CIE-LABlab(78.33, -12.49, 55.06)
CIE-LCHlch(78.33, 56.46, 102.78°)
OKLaboklab(80.89% -0.038 0.1273)
OKLCHoklch(80.89% 0.133 106.6)
XYZxyz(46.5444, 53.7742, 16.9426)
Luminance0.5377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC657 #575CCB
analogous
#CB8C57 #CBC657 #96CB57
triadic
#CBC657 #57CBC6 #C657CB
tetradic
#CBC657 #57CB8C #575CCB #CB5796
square
#CBC657 #57CB8C #575CCB #CB5796
split-complementary
#CBC657 #5796CB #8C57CB
monochromatic
#807C28 #AFAA36 #CBC657 #D9D686 #E8E6B4

Accessibility & contrast

On white

1.79
#CBC657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.75
#CBC657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC657
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC657#FFFFFF#000000##000000
##CBC6571.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4B
Deuteranopia (green-blind)
#D8C45D
Tritanopia (blue-blind)
#D8BAAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc657;
/* rgb */ color: rgb(203, 198, 87);
/* oklch */ color: oklch(80.9% 0.133 106.6);
Tailwind
colors: {
  custom: {
    50: '#ddd78a',
    500: '#cbc657',
    950: '#000000',
  },
}
SCSS
$custom: #cbc657;
$custom-light: #ddd78a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc657",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 87
  },
  "hsl": {
    "h": 57.414,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80887,
    "c": 0.1329,
    "h": 106.6
  },
  "luminance": 0.53773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC657

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

Preview Lab → · Contrast checker → · Palette generator →

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