#CBC875#CBC875

#CBC875 is a light, moderate yellow. Relative luminance 0.553; OKLCH L 81.7% C 0.105 H 106.7°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#CBC875
RGBrgb(203, 200, 117)
HSLhsl(58, 45%, 63%)
HSVhsv(58, 42%, 80%)
CMYKcmyk(0%, 1.5%, 42.4%, 20.4%)
CIE-LABlab(79.21, -10.85, 41.78)
CIE-LCHlch(79.21, 43.16, 104.55°)
OKLaboklab(81.7% -0.0303 0.101)
OKLCHoklch(81.7% 0.105 106.7)
XYZxyz(48.4946, 55.2906, 24.9437)
Luminance0.5529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC875 #7578CB
analogous
#CB9D75 #CBC875 #A3CB75
triadic
#CBC875 #75CBC8 #C875CB
tetradic
#CBC875 #75CB9D #7578CB #CB75A3
square
#CBC875 #75CB9D #7578CB #CB75A3
split-complementary
#CBC875 #75A3CB #9D75CB
monochromatic
#908C36 #BAB649 #CBC875 #DCDAA1 #ECEBCE

Accessibility & contrast

On white

1.74
#CBC875 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#CBC875 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC875
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC875#FFFFFF#000000##000000
##CBC8751.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C26E
Deuteranopia (green-blind)
#D6C679
Tritanopia (blue-blind)
#D6BEB4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cbc875;
/* rgb */ color: rgb(203, 200, 117);
/* oklch */ color: oklch(81.7% 0.105 106.7);
Tailwind
colors: {
  custom: {
    50: '#dcd89e',
    500: '#cbc875',
    950: '#000000',
  },
}
SCSS
$custom: #cbc875;
$custom-light: #dcd89e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc875",
  "rgb": {
    "r": 203,
    "g": 200,
    "b": 117
  },
  "hsl": {
    "h": 57.907,
    "s": 45.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.81698,
    "c": 0.10541,
    "h": 106.7
  },
  "luminance": 0.55289
}

Semantic roles & 50–950 ramp

primary
#CBC875
secondary
#4E5096
accent
#32B82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC875

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

Preview Lab → · Contrast checker → · Palette generator →

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