#CBC95A#CBC95A

#CBC95A is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.6% C 0.133 H 108.1°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#CBC95A
RGBrgb(203, 201, 90)
HSLhsl(59, 52%, 57%)
HSVhsv(59, 56%, 80%)
CMYKcmyk(0%, 1%, 55.7%, 20.4%)
CIE-LABlab(79.16, -13.78, 54.65)
CIE-LCHlch(79.16, 56.36, 104.15°)
OKLaboklab(81.56% -0.0414 0.1268)
OKLCHoklch(81.56% 0.133 108.1)
XYZxyz(47.3620, 55.2093, 17.8324)
Luminance0.5521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC95A #5A5CCB
analogous
#CB905A #CBC95A #95CB5A
triadic
#CBC95A #5ACBC9 #C95ACB
tetradic
#CBC95A #5ACB90 #5A5CCB #CB5A95
square
#CBC95A #5ACB90 #5A5CCB #CB5A95
split-complementary
#CBC95A #5A95CB #905ACB
monochromatic
#828029 #B0AE38 #CBC95A #DAD889 #E8E7B7

Accessibility & contrast

On white

1.74
#CBC95A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#CBC95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC95A
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC95A#FFFFFF#000000##000000
##CBC95A1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24E
Deuteranopia (green-blind)
#DAC660
Tritanopia (blue-blind)
#D8BEB1
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc95a;
/* rgb */ color: rgb(203, 201, 90);
/* oklch */ color: oklch(81.6% 0.133 108.1);
Tailwind
colors: {
  custom: {
    50: '#ddd98c',
    500: '#cbc95a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc95a;
$custom-light: #ddd98c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc95a",
  "rgb": {
    "r": 203,
    "g": 201,
    "b": 90
  },
  "hsl": {
    "h": 58.938,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81559,
    "c": 0.13338,
    "h": 108.1
  },
  "luminance": 0.55208
}

Semantic roles & 50–950 ramp

primary
#CBC95A
secondary
#404189
accent
#4FDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC95A

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

Preview Lab → · Contrast checker → · Palette generator →

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