#CBC76B#CBC76B

#CBC76B is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.3% C 0.115 H 106.5°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#CBC76B
RGBrgb(203, 199, 107)
HSLhsl(58, 48%, 61%)
HSVhsv(58, 47%, 80%)
CMYKcmyk(0%, 2%, 47.3%, 20.4%)
CIE-LABlab(78.81, -11.32, 46.23)
CIE-LCHlch(78.81, 47.60, 103.76°)
OKLaboklab(81.34% -0.0326 0.1102)
OKLCHoklch(81.34% 0.115 106.5)
XYZxyz(47.7070, 54.6062, 21.9340)
Luminance0.5461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC76B #6B6FCB
analogous
#CB976B #CBC76B #9FCB6B
triadic
#CBC76B #6BCBC7 #C76BCB
tetradic
#CBC76B #6BCB97 #6B6FCB #CB6B9F
square
#CBC76B #6BCB97 #6B6FCB #CB6B9F
split-complementary
#CBC76B #6B9FCB #976BCB
monochromatic
#8B8731 #B8B341 #CBC76B #DBD898 #EBE9C6

Accessibility & contrast

On white

1.76
#CBC76B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#CBC76B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC76B
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC76B#FFFFFF#000000##000000
##CBC76B1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C163
Deuteranopia (green-blind)
#D7C56F
Tritanopia (blue-blind)
#D7BDB1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc76b;
/* rgb */ color: rgb(203, 199, 107);
/* oklch */ color: oklch(81.3% 0.115 106.5);
Tailwind
colors: {
  custom: {
    50: '#ddd797',
    500: '#cbc76b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc76b;
$custom-light: #ddd797;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc76b",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 107
  },
  "hsl": {
    "h": 57.5,
    "s": 48,
    "l": 60.784
  },
  "oklch": {
    "l": 0.81342,
    "c": 0.11489,
    "h": 106.5
  },
  "luminance": 0.54605
}

Semantic roles & 50–950 ramp

primary
#CBC76B
secondary
#484B92
accent
#30BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC76B

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

Preview Lab → · Contrast checker → · Palette generator →

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