#CBC86F#CBC86F

#CBC86F is a light, moderate yellow. Relative luminance 0.552; OKLCH L 81.6% C 0.112 H 106.9°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#CBC86F
RGBrgb(203, 200, 111)
HSLhsl(58, 47%, 62%)
HSVhsv(58, 45%, 80%)
CMYKcmyk(0%, 1.5%, 45.3%, 20.4%)
CIE-LABlab(79.13, -11.45, 44.66)
CIE-LCHlch(79.13, 46.10, 104.38°)
OKLaboklab(81.61% -0.0326 0.107)
OKLCHoklch(81.61% 0.112 106.9)
XYZxyz(48.1531, 55.1540, 23.1450)
Luminance0.5515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC86F #6F72CB
analogous
#CB9A6F #CBC86F #A0CB6F
triadic
#CBC86F #6FCBC8 #C86FCB
tetradic
#CBC86F #6FCB9A #6F72CB #CB6FA0
square
#CBC86F #6FCB9A #6F72CB #CB6FA0
split-complementary
#CBC86F #6FA0CB #9A6FCB
monochromatic
#8D8A33 #BAB643 #CBC86F #DBD99C #EBEAC9

Accessibility & contrast

On white

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

On black

12.03
#CBC86F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC86F
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC86F#FFFFFF#000000##000000
##CBC86F1.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C268
Deuteranopia (green-blind)
#D7C673
Tritanopia (blue-blind)
#D7BEB3
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc86f;
/* rgb */ color: rgb(203, 200, 111);
/* oklch */ color: oklch(81.6% 0.112 106.9);
Tailwind
colors: {
  custom: {
    50: '#dcd89a',
    500: '#cbc86f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc86f;
$custom-light: #dcd89a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc86f",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 111
  },
  "hsl": {
    "h": 58.043,
    "s": 46.939,
    "l": 61.569
  },
  "oklch": {
    "l": 0.8161,
    "c": 0.11184,
    "h": 106.9
  },
  "luminance": 0.55153
}

Semantic roles & 50–950 ramp

primary
#CBC86F
secondary
#4B4D94
accent
#30BA2B
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC86F

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

Preview Lab → · Contrast checker → · Palette generator →

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