#CBC457#CBC457

#CBC457 is a light, vivid yellow. Relative luminance 0.529; OKLCH L 80.5% C 0.131 H 105.6°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#CBC457
RGBrgb(203, 196, 87)
HSLhsl(56, 53%, 57%)
HSVhsv(56, 57%, 80%)
CMYKcmyk(0%, 3.4%, 57.1%, 20.4%)
CIE-LABlab(77.80, -11.47, 54.47)
CIE-LCHlch(77.80, 55.66, 101.89°)
OKLaboklab(80.46% -0.0351 0.1261)
OKLCHoklch(80.46% 0.131 105.6)
XYZxyz(46.0903, 52.8660, 16.7913)
Luminance0.5286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC457 #575ECB
analogous
#CB8A57 #CBC457 #98CB57
triadic
#CBC457 #57CBC4 #C457CB
tetradic
#CBC457 #57CB8A #575ECB #CB5798
square
#CBC457 #57CB8A #575ECB #CB5798
split-complementary
#CBC457 #5798CB #8A57CB
monochromatic
#807B28 #AFA736 #CBC457 #D9D486 #E8E5B4

Accessibility & contrast

On white

1.81
#CBC457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#CBC457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC457
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC457#FFFFFF#000000##000000
##CBC4571.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD4C
Deuteranopia (green-blind)
#D6C35D
Tritanopia (blue-blind)
#D9B8AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc457;
/* rgb */ color: rgb(203, 196, 87);
/* oklch */ color: oklch(80.5% 0.131 105.6);
Tailwind
colors: {
  custom: {
    50: '#ddd58a',
    500: '#cbc457',
    950: '#000000',
  },
}
SCSS
$custom: #cbc457;
$custom-light: #ddd58a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc457",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 87
  },
  "hsl": {
    "h": 56.379,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80462,
    "c": 0.13086,
    "h": 105.6
  },
  "luminance": 0.52864
}

Semantic roles & 50–950 ramp

primary
#CBC457
secondary
#3F4388
accent
#54DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC457

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

Preview Lab → · Contrast checker → · Palette generator →

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