#CBC65A#CBC65A

#CBC65A is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.9% C 0.130 H 106.5°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#CBC65A
RGBrgb(203, 198, 90)
HSLhsl(57, 52%, 57%)
HSVhsv(57, 56%, 80%)
CMYKcmyk(0%, 2.5%, 55.7%, 20.4%)
CIE-LABlab(78.36, -12.26, 53.74)
CIE-LCHlch(78.36, 55.12, 102.85°)
OKLaboklab(80.92% -0.037 0.1249)
OKLCHoklch(80.92% 0.13 106.5)
XYZxyz(46.6695, 53.8243, 17.6016)
Luminance0.5382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC65A #5A5FCB
analogous
#CB8D5A #CBC65A #98CB5A
triadic
#CBC65A #5ACBC6 #C65ACB
tetradic
#CBC65A #5ACB8D #5A5FCB #CB5A98
square
#CBC65A #5ACB8D #5A5FCB #CB5A98
split-complementary
#CBC65A #5A98CB #8D5ACB
monochromatic
#827E29 #B0AB38 #CBC65A #DAD689 #E8E6B7

Accessibility & contrast

On white

1.79
#CBC65A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#CBC65A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC65A
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC65A#FFFFFF#000000##000000
##CBC65A1.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4F
Deuteranopia (green-blind)
#D7C460
Tritanopia (blue-blind)
#D8BAAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc65a;
/* rgb */ color: rgb(203, 198, 90);
/* oklch */ color: oklch(80.9% 0.130 106.5);
Tailwind
colors: {
  custom: {
    50: '#ddd78c',
    500: '#cbc65a',
    950: '#000000',
  },
}
SCSS
$custom: #cbc65a;
$custom-light: #ddd78c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc65a",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 90
  },
  "hsl": {
    "h": 57.345,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8092,
    "c": 0.13023,
    "h": 106.5
  },
  "luminance": 0.53823
}

Semantic roles & 50–950 ramp

primary
#CBC65A
secondary
#404389
accent
#53DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC65A

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

Preview Lab → · Contrast checker → · Palette generator →

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