#CBC357#CBC357

#CBC357 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.3% C 0.130 H 105.0°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#CBC357
RGBrgb(203, 195, 87)
HSLhsl(56, 53%, 57%)
HSVhsv(56, 57%, 80%)
CMYKcmyk(0%, 3.9%, 57.1%, 20.4%)
CIE-LABlab(77.53, -10.96, 54.17)
CIE-LCHlch(77.53, 55.26, 101.44°)
OKLaboklab(80.25% -0.0337 0.1254)
OKLCHoklch(80.25% 0.13 105)
XYZxyz(45.8655, 52.4164, 16.7163)
Luminance0.5242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC357 #575FCB
analogous
#CB8957 #CBC357 #99CB57
triadic
#CBC357 #57CBC3 #C357CB
tetradic
#CBC357 #57CB89 #575FCB #CB5799
square
#CBC357 #57CB89 #575FCB #CB5799
split-complementary
#CBC357 #5799CB #8957CB
monochromatic
#807A28 #AFA636 #CBC357 #D9D486 #E8E4B4

Accessibility & contrast

On white

1.83
#CBC357 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#CBC357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC357
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC357#FFFFFF#000000##000000
##CBC3571.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD4C
Deuteranopia (green-blind)
#D5C25D
Tritanopia (blue-blind)
#D9B7AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc357;
/* rgb */ color: rgb(203, 195, 87);
/* oklch */ color: oklch(80.3% 0.130 105.0);
Tailwind
colors: {
  custom: {
    50: '#ddd48a',
    500: '#cbc357',
    950: '#000000',
  },
}
SCSS
$custom: #cbc357;
$custom-light: #ddd48a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc357",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 87
  },
  "hsl": {
    "h": 55.862,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8025,
    "c": 0.12986,
    "h": 105
  },
  "luminance": 0.52415
}

Semantic roles & 50–950 ramp

primary
#CBC357
secondary
#3F4488
accent
#56DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC357

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

Preview Lab → · Contrast checker → · Palette generator →

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