#CBC87F#CBC87F

#CBC87F is a light, moderate yellow. Relative luminance 0.555; OKLCH L 81.9% C 0.094 H 106.3°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#CBC87F
RGBrgb(203, 200, 127)
HSLhsl(58, 42%, 65%)
HSVhsv(58, 37%, 80%)
CMYKcmyk(0%, 1.5%, 37.4%, 20.4%)
CIE-LABlab(79.35, -9.76, 36.90)
CIE-LCHlch(79.35, 38.17, 104.82°)
OKLaboklab(81.86% -0.0264 0.0904)
OKLCHoklch(81.86% 0.094 106.3)
XYZxyz(49.1143, 55.5384, 28.2073)
Luminance0.5554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC87F #7F82CB
analogous
#CBA27F #CBC87F #A8CB7F
triadic
#CBC87F #7FCBC8 #C87FCB
tetradic
#CBC87F #7FCBA2 #7F82CB #CB7FA8
square
#CBC87F #7FCBA2 #7F82CB #CB7FA8
split-complementary
#CBC87F #7FA8CB #A27FCB
monochromatic
#94903C #B9B553 #CBC87F #DDDBAB #EEEDD6

Accessibility & contrast

On white

1.73
#CBC87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#CBC87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC87F
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC87F#FFFFFF#000000##000000
##CBC87F1.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C37A
Deuteranopia (green-blind)
#D5C682
Tritanopia (blue-blind)
#D5BFB6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cbc87f;
/* rgb */ color: rgb(203, 200, 127);
/* oklch */ color: oklch(81.9% 0.094 106.3);
Tailwind
colors: {
  custom: {
    50: '#dcd8a5',
    500: '#cbc87f',
    950: '#000000',
  },
}
SCSS
$custom: #cbc87f;
$custom-light: #dcd8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc87f",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 127
  },
  "hsl": {
    "h": 57.632,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.81857,
    "c": 0.0942,
    "h": 106.3
  },
  "luminance": 0.55537
}

Semantic roles & 50–950 ramp

primary
#CBC87F
secondary
#54579A
accent
#35B530
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CBC87F

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

Preview Lab → · Contrast checker → · Palette generator →

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