#CBC15A#CBC15A

#CBC15A is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.9% C 0.125 H 103.8°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#CBC15A
RGBrgb(203, 193, 90)
HSLhsl(55, 52%, 57%)
HSVhsv(55, 56%, 80%)
CMYKcmyk(0%, 4.9%, 55.7%, 20.4%)
CIE-LABlab(77.03, -9.71, 52.22)
CIE-LCHlch(77.03, 53.11, 100.53°)
OKLaboklab(79.86% -0.0298 0.1216)
OKLCHoklch(79.86% 0.125 103.8)
XYZxyz(45.5455, 51.5762, 17.2269)
Luminance0.5158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC15A #5A64CB
analogous
#CB885A #CBC15A #9DCB5A
triadic
#CBC15A #5ACBC1 #C15ACB
tetradic
#CBC15A #5ACB88 #5A64CB #CB5A9D
square
#CBC15A #5ACB88 #5A64CB #CB5A9D
split-complementary
#CBC15A #5A9DCB #885ACB
monochromatic
#827A29 #B0A638 #CBC15A #DAD289 #E8E4B7

Accessibility & contrast

On white

1.86
#CBC15A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#CBC15A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC15A
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC15A#FFFFFF#000000##000000
##CBC15A1.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB50
Deuteranopia (green-blind)
#D4C15F
Tritanopia (blue-blind)
#D9B5AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cbc15a;
/* rgb */ color: rgb(203, 193, 90);
/* oklch */ color: oklch(79.9% 0.125 103.8);
Tailwind
colors: {
  custom: {
    50: '#ddd38c',
    500: '#cbc15a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc15a;
$custom-light: #ddd38c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc15a",
  "rgb": {
    "r": 203,
    "g": 193,
    "b": 90
  },
  "hsl": {
    "h": 54.69,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.7986,
    "c": 0.12518,
    "h": 103.8
  },
  "luminance": 0.51575
}

Semantic roles & 50–950 ramp

primary
#CBC15A
secondary
#404689
accent
#59DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC15A

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

Preview Lab → · Contrast checker → · Palette generator →

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