#CBC65B#CBC65B

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

Color values

HEX#CBC65B
RGBrgb(203, 198, 91)
HSLhsl(57, 52%, 58%)
HSVhsv(57, 55%, 80%)
CMYKcmyk(0%, 2.5%, 55.2%, 20.4%)
CIE-LABlab(78.37, -12.18, 53.29)
CIE-LCHlch(78.37, 54.67, 102.88°)
OKLaboklab(80.93% -0.0367 0.124)
OKLCHoklch(80.93% 0.129 106.5)
XYZxyz(46.7124, 53.8414, 17.8273)
Luminance0.5384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC65B #5B60CB
analogous
#CB8E5B #CBC65B #98CB5B
triadic
#CBC65B #5BCBC6 #C65BCB
tetradic
#CBC65B #5BCB8E #5B60CB #CB5B98
square
#CBC65B #5BCB8E #5B60CB #CB5B98
split-complementary
#CBC65B #5B98CB #8E5BCB
monochromatic
#827E29 #B1AB38 #CBC65B #DAD689 #E8E6B8

Accessibility & contrast

On white

1.78
#CBC65B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#CBC65B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC65B
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC65B#FFFFFF#000000##000000
##CBC65B1.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF50
Deuteranopia (green-blind)
#D7C461
Tritanopia (blue-blind)
#D8BBAE
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cbc65b;
/* rgb */ color: rgb(203, 198, 91);
/* oklch */ color: oklch(80.9% 0.129 106.5);
Tailwind
colors: {
  custom: {
    50: '#ddd78d',
    500: '#cbc65b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc65b;
$custom-light: #ddd78d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc65b",
  "rgb": {
    "r": 203,
    "g": 198,
    "b": 91
  },
  "hsl": {
    "h": 57.321,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80931,
    "c": 0.12933,
    "h": 106.5
  },
  "luminance": 0.5384
}

Semantic roles & 50–950 ramp

primary
#CBC65B
secondary
#40448A
accent
#53DB4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CBC65B

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

Preview Lab → · Contrast checker → · Palette generator →

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