#CBC35B#CBC35B

#CBC35B is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.3% C 0.126 H 104.9°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#CBC35B
RGBrgb(203, 195, 91)
HSLhsl(56, 52%, 58%)
HSVhsv(56, 55%, 80%)
CMYKcmyk(0%, 3.9%, 55.2%, 20.4%)
CIE-LABlab(77.57, -10.66, 52.38)
CIE-LCHlch(77.57, 53.45, 101.50°)
OKLaboklab(80.3% -0.0324 0.122)
OKLCHoklch(80.3% 0.126 104.9)
XYZxyz(46.0334, 52.4835, 17.6010)
Luminance0.5248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC35B #5B63CB
analogous
#CB8B5B #CBC35B #9BCB5B
triadic
#CBC35B #5BCBC3 #C35BCB
tetradic
#CBC35B #5BCB8B #5B63CB #CB5B9B
square
#CBC35B #5BCB8B #5B63CB #CB5B9B
split-complementary
#CBC35B #5B9BCB #8B5BCB
monochromatic
#827C29 #B1A838 #CBC35B #DAD489 #E8E5B8

Accessibility & contrast

On white

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

On black

11.50
#CBC35B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC35B
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC35B#FFFFFF#000000##000000
##CBC35B1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD51
Deuteranopia (green-blind)
#D5C260
Tritanopia (blue-blind)
#D8B8AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cbc35b;
/* rgb */ color: rgb(203, 195, 91);
/* oklch */ color: oklch(80.3% 0.126 104.9);
Tailwind
colors: {
  custom: {
    50: '#ddd48d',
    500: '#cbc35b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc35b;
$custom-light: #ddd48d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc35b",
  "rgb": {
    "r": 203,
    "g": 195,
    "b": 91
  },
  "hsl": {
    "h": 55.714,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80295,
    "c": 0.12626,
    "h": 104.9
  },
  "luminance": 0.52482
}

Semantic roles & 50–950 ramp

primary
#CBC35B
secondary
#40468A
accent
#57DB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC35B

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

Preview Lab → · Contrast checker → · Palette generator →

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