#CBC86D#CBC86D

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

Color values

HEX#CBC86D
RGBrgb(203, 200, 109)
HSLhsl(58, 47%, 61%)
HSVhsv(58, 46%, 80%)
CMYKcmyk(0%, 1.5%, 46.3%, 20.4%)
CIE-LABlab(79.10, -11.64, 45.61)
CIE-LCHlch(79.10, 47.07, 104.32°)
OKLaboklab(81.58% -0.0333 0.109)
OKLCHoklch(81.58% 0.114 107)
XYZxyz(48.0442, 55.1104, 22.5716)
Luminance0.5511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC86D #6D70CB
analogous
#CB996D #CBC86D #9FCB6D
triadic
#CBC86D #6DCBC8 #C86DCB
tetradic
#CBC86D #6DCB99 #6D70CB #CB6D9F
square
#CBC86D #6DCB99 #6D70CB #CB6D9F
split-complementary
#CBC86D #6D9FCB #996DCB
monochromatic
#8C8932 #B9B542 #CBC86D #DBD99A #EBEAC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBC86D#FFFFFF#000000##000000
##CBC86D1.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)
#D5C265
Deuteranopia (green-blind)
#D7C671
Tritanopia (blue-blind)
#D7BEB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc86d;
/* rgb */ color: rgb(203, 200, 109);
/* oklch */ color: oklch(81.6% 0.114 107.0);
Tailwind
colors: {
  custom: {
    50: '#dcd899',
    500: '#cbc86d',
    950: '#000000',
  },
}
SCSS
$custom: #cbc86d;
$custom-light: #dcd899;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc86d",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 109
  },
  "hsl": {
    "h": 58.085,
    "s": 47.475,
    "l": 61.176
  },
  "oklch": {
    "l": 0.81582,
    "c": 0.11393,
    "h": 107
  },
  "luminance": 0.55109
}

Semantic roles & 50–950 ramp

primary
#CBC86D
secondary
#4A4C93
accent
#2FBB2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC86D

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

Preview Lab → · Contrast checker → · Palette generator →

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