#CBC06C#CBC06C

#CBC06C is a light, moderate yellow. Relative luminance 0.515; OKLCH L 79.9% C 0.106 H 101.9°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#CBC06C
RGBrgb(203, 192, 108)
HSLhsl(53, 48%, 61%)
HSVhsv(53, 47%, 80%)
CMYKcmyk(0%, 5.4%, 46.8%, 20.4%)
CIE-LABlab(76.97, -7.64, 43.49)
CIE-LCHlch(76.97, 44.15, 99.96°)
OKLaboklab(79.88% -0.0219 0.1042)
OKLCHoklch(79.88% 0.106 101.9)
XYZxyz(46.1862, 51.4800, 21.6882)
Luminance0.5148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC06C #6C77CB
analogous
#CB906C #CBC06C #A6CB6C
triadic
#CBC06C #6CCBC0 #C06CCB
tetradic
#CBC06C #6CCB90 #6C77CB #CB6CA6
square
#CBC06C #6CCB90 #6C77CB #CB6CA6
split-complementary
#CBC06C #6CA6CB #906CCB
monochromatic
#8B8131 #B9AB41 #CBC06C #DBD399 #EBE7C6

Accessibility & contrast

On white

1.86
#CBC06C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#CBC06C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC06C
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC06C#FFFFFF#000000##000000
##CBC06C1.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBB65
Deuteranopia (green-blind)
#D1C070
Tritanopia (blue-blind)
#D7B6AC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cbc06c;
/* rgb */ color: rgb(203, 192, 108);
/* oklch */ color: oklch(79.9% 0.106 101.9);
Tailwind
colors: {
  custom: {
    50: '#dcd298',
    500: '#cbc06c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc06c;
$custom-light: #dcd298;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc06c",
  "rgb": {
    "r": 203,
    "g": 192,
    "b": 108
  },
  "hsl": {
    "h": 53.053,
    "s": 47.739,
    "l": 60.98
  },
  "oklch": {
    "l": 0.79881,
    "c": 0.10646,
    "h": 101.9
  },
  "luminance": 0.51478
}

Semantic roles & 50–950 ramp

primary
#CBC06C
secondary
#495192
accent
#3BBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC06C

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

Preview Lab → · Contrast checker → · Palette generator →

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