#CBC459#CBC459

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

Color values

HEX#CBC459
RGBrgb(203, 196, 89)
HSLhsl(56, 52%, 57%)
HSVhsv(56, 56%, 80%)
CMYKcmyk(0%, 3.4%, 56.2%, 20.4%)
CIE-LABlab(77.82, -11.32, 53.58)
CIE-LCHlch(77.82, 54.76, 101.93°)
OKLaboklab(80.48% -0.0345 0.1244)
OKLCHoklch(80.48% 0.129 105.5)
XYZxyz(46.1731, 52.8991, 17.2276)
Luminance0.5290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC459 #5960CB
analogous
#CB8B59 #CBC459 #99CB59
triadic
#CBC459 #59CBC4 #C459CB
tetradic
#CBC459 #59CB8B #5960CB #CB5999
square
#CBC459 #59CB8B #5960CB #CB5999
split-complementary
#CBC459 #5999CB #8B59CB
monochromatic
#817C28 #B0A837 #CBC459 #DAD588 #E8E5B6

Accessibility & contrast

On white

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

On black

11.58
#CBC459 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC459
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC459#FFFFFF#000000##000000
##CBC4591.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc459;
/* rgb */ color: rgb(203, 196, 89);
/* oklch */ color: oklch(80.5% 0.129 105.5);
Tailwind
colors: {
  custom: {
    50: '#ddd58b',
    500: '#cbc459',
    950: '#000000',
  },
}
SCSS
$custom: #cbc459;
$custom-light: #ddd58b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc459",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 89
  },
  "hsl": {
    "h": 56.316,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80484,
    "c": 0.12909,
    "h": 105.5
  },
  "luminance": 0.52898
}

Semantic roles & 50–950 ramp

primary
#CBC459
secondary
#3F4489
accent
#55DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC459

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

Preview Lab → · Contrast checker → · Palette generator →

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