#CBC76F#CBC76F

#CBC76F is a light, moderate yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.111 H 106.3°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#CBC76F
RGBrgb(203, 199, 111)
HSLhsl(57, 47%, 62%)
HSVhsv(57, 45%, 80%)
CMYKcmyk(0%, 2%, 45.3%, 20.4%)
CIE-LABlab(78.86, -10.94, 44.33)
CIE-LCHlch(78.86, 45.66, 103.86°)
OKLaboklab(81.4% -0.0311 0.1063)
OKLCHoklch(81.4% 0.111 106.3)
XYZxyz(47.9223, 54.6923, 23.0681)
Luminance0.5469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC76F #6F73CB
analogous
#CB996F #CBC76F #A1CB6F
triadic
#CBC76F #6FCBC7 #C76FCB
tetradic
#CBC76F #6FCB99 #6F73CB #CB6FA1
square
#CBC76F #6FCB99 #6F73CB #CB6FA1
split-complementary
#CBC76F #6FA1CB #996FCB
monochromatic
#8D8933 #BAB543 #CBC76F #DBD89C #EBEAC9

Accessibility & contrast

On white

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

On black

11.94
#CBC76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC76F
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC76F#FFFFFF#000000##000000
##CBC76F1.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc76f;
/* rgb */ color: rgb(203, 199, 111);
/* oklch */ color: oklch(81.4% 0.111 106.3);
Tailwind
colors: {
  custom: {
    50: '#dcd79a',
    500: '#cbc76f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc76f;
$custom-light: #dcd79a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc76f",
  "rgb": {
    "r": 203,
    "g": 199,
    "b": 111
  },
  "hsl": {
    "h": 57.391,
    "s": 46.939,
    "l": 61.569
  },
  "oklch": {
    "l": 0.81398,
    "c": 0.11073,
    "h": 106.3
  },
  "luminance": 0.54691
}

Semantic roles & 50–950 ramp

primary
#CBC76F
secondary
#4B4E94
accent
#32BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC76F

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

Preview Lab → · Contrast checker → · Palette generator →

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