#CBC86C#CBC86C

#CBC86C is a light, moderate yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.115 H 107.0°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#CBC86C
RGBrgb(203, 200, 108)
HSLhsl(58, 48%, 61%)
HSVhsv(58, 47%, 80%)
CMYKcmyk(0%, 1.5%, 46.8%, 20.4%)
CIE-LABlab(79.09, -11.73, 46.08)
CIE-LCHlch(79.09, 47.55, 104.29°)
OKLaboklab(81.57% -0.0337 0.1099)
OKLCHoklch(81.57% 0.115 107)
XYZxyz(47.9907, 55.0890, 22.2897)
Luminance0.5509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC86C #6C6FCB
analogous
#CB986C #CBC86C #9ECB6C
triadic
#CBC86C #6CCBC8 #C86CCB
tetradic
#CBC86C #6CCB98 #6C6FCB #CB6C9E
square
#CBC86C #6CCB98 #6C6FCB #CB6C9E
split-complementary
#CBC86C #6C9ECB #986CCB
monochromatic
#8B8831 #B9B541 #CBC86C #DBD999 #EBEAC6

Accessibility & contrast

On white

1.75
#CBC86C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#CBC86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC86C
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC86C#FFFFFF#000000##000000
##CBC86C1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C264
Deuteranopia (green-blind)
#D7C670
Tritanopia (blue-blind)
#D7BEB2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc86c;
/* rgb */ color: rgb(203, 200, 108);
/* oklch */ color: oklch(81.6% 0.115 107.0);
Tailwind
colors: {
  custom: {
    50: '#dcd898',
    500: '#cbc86c',
    950: '#000000',
  },
}
SCSS
$custom: #cbc86c;
$custom-light: #dcd898;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc86c",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 108
  },
  "hsl": {
    "h": 58.105,
    "s": 47.739,
    "l": 60.98
  },
  "oklch": {
    "l": 0.81568,
    "c": 0.11496,
    "h": 107
  },
  "luminance": 0.55088
}

Semantic roles & 50–950 ramp

primary
#CBC86C
secondary
#494B92
accent
#2FBB2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC86C

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

Preview Lab → · Contrast checker → · Palette generator →

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