#CBC658#CBC658

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

Color values

HEX#CBC658
RGBrgb(203, 198, 88)
HSLhsl(57, 53%, 57%)
HSVhsv(57, 57%, 80%)
CMYKcmyk(0%, 2.5%, 56.7%, 20.4%)
CIE-LABlab(78.34, -12.41, 54.62)
CIE-LCHlch(78.34, 56.02, 102.80°)
OKLaboklab(80.9% -0.0377 0.1265)
OKLCHoklch(80.9% 0.132 106.6)
XYZxyz(46.5855, 53.7907, 17.1593)
Luminance0.5379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC658 #585DCB
analogous
#CB8C58 #CBC658 #97CB58
triadic
#CBC658 #58CBC6 #C658CB
tetradic
#CBC658 #58CB8C #585DCB #CB5897
square
#CBC658 #58CB8C #585DCB #CB5897
split-complementary
#CBC658 #5897CB #8C58CB
monochromatic
#817D28 #AFAA37 #CBC658 #DAD687 #E8E6B5

Accessibility & contrast

On white

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

On black

11.76
#CBC658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC658
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC658#FFFFFF#000000##000000
##CBC6581.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc658;
/* rgb */ color: rgb(203, 198, 88);
/* oklch */ color: oklch(80.9% 0.132 106.6);
Tailwind
colors: {
  custom: {
    50: '#ddd78b',
    500: '#cbc658',
    950: '#000000',
  },
}
SCSS
$custom: #cbc658;
$custom-light: #ddd78b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc658",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 88
  },
  "hsl": {
    "h": 57.391,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80898,
    "c": 0.13202,
    "h": 106.6
  },
  "luminance": 0.53789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC658

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

Preview Lab → · Contrast checker → · Palette generator →

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