#CBC76C#CBC76C

#CBC76C is a light, moderate yellow. Relative luminance 0.546; OKLCH L 81.4% C 0.114 H 106.4°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#CBC76C
RGBrgb(203, 199, 108)
HSLhsl(57, 48%, 61%)
HSVhsv(57, 47%, 80%)
CMYKcmyk(0%, 2%, 46.8%, 20.4%)
CIE-LABlab(78.83, -11.23, 45.76)
CIE-LCHlch(78.83, 47.11, 103.78°)
OKLaboklab(81.36% -0.0322 0.1092)
OKLCHoklch(81.36% 0.114 106.4)
XYZxyz(47.7599, 54.6273, 22.2127)
Luminance0.5463 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC76C #6C70CB
analogous
#CB976C #CBC76C #9FCB6C
triadic
#CBC76C #6CCBC7 #C76CCB
tetradic
#CBC76C #6CCB97 #6C70CB #CB6C9F
square
#CBC76C #6CCB97 #6C70CB #CB6C9F
split-complementary
#CBC76C #6C9FCB #976CCB
monochromatic
#8B8831 #B9B441 #CBC76C #DBD899 #EBE9C6

Accessibility & contrast

On white

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

On black

11.93
#CBC76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC76C
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC76C#FFFFFF#000000##000000
##CBC76C1.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C164
Deuteranopia (green-blind)
#D7C570
Tritanopia (blue-blind)
#D7BDB2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cbc76c;
/* rgb */ color: rgb(203, 199, 108);
/* oklch */ color: oklch(81.4% 0.114 106.4);
Tailwind
colors: {
  custom: {
    50: '#dcd798',
    500: '#cbc76c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc76c;
$custom-light: #dcd798;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc76c",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 108
  },
  "hsl": {
    "h": 57.474,
    "s": 47.739,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81356,
    "c": 0.11386,
    "h": 106.4
  },
  "luminance": 0.54626
}

Semantic roles & 50–950 ramp

primary
#CBC76C
secondary
#494C92
accent
#31BB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC76C

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

Preview Lab → · Contrast checker → · Palette generator →

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