#CBC86B#CBC86B

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

Color values

HEX#CBC86B
RGBrgb(203, 200, 107)
HSLhsl(58, 48%, 61%)
HSVhsv(58, 47%, 80%)
CMYKcmyk(0%, 1.5%, 47.3%, 20.4%)
CIE-LABlab(79.08, -11.83, 46.55)
CIE-LCHlch(79.08, 48.03, 104.26°)
OKLaboklab(81.55% -0.034 0.1109)
OKLCHoklch(81.55% 0.116 107.1)
XYZxyz(47.9378, 55.0678, 22.0110)
Luminance0.5507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC86B #6B6ECB
analogous
#CB986B #CBC86B #9ECB6B
triadic
#CBC86B #6BCBC8 #C86BCB
tetradic
#CBC86B #6BCB98 #6B6ECB #CB6B9E
square
#CBC86B #6BCB98 #6B6ECB #CB6B9E
split-complementary
#CBC86B #6B9ECB #986BCB
monochromatic
#8B8831 #B8B441 #CBC86B #DBD998 #EBEAC6

Accessibility & contrast

On white

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

On black

12.01
#CBC86B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC86B
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC86B#FFFFFF#000000##000000
##CBC86B1.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbc86b;
/* rgb */ color: rgb(203, 200, 107);
/* oklch */ color: oklch(81.6% 0.116 107.1);
Tailwind
colors: {
  custom: {
    50: '#ddd897',
    500: '#cbc86b',
    950: '#000000',
  },
}
SCSS
$custom: #cbc86b;
$custom-light: #ddd897;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc86b",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 107
  },
  "hsl": {
    "h": 58.125,
    "s": 48,
    "l": 60.784
  },
  "oklch": {
    "l": 0.81554,
    "c": 0.11599,
    "h": 107.1
  },
  "luminance": 0.55067
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBC86B

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

Preview Lab → · Contrast checker → · Palette generator →

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