#CBC475#CBC475

#CBC475 is a light, moderate yellow. Relative luminance 0.535; OKLCH L 80.9% C 0.101 H 104.0°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#CBC475
RGBrgb(203, 196, 117)
HSLhsl(55, 45%, 63%)
HSVhsv(55, 42%, 80%)
CMYKcmyk(0%, 3.4%, 42.4%, 20.4%)
CIE-LABlab(78.15, -8.80, 40.45)
CIE-LCHlch(78.15, 41.39, 102.27°)
OKLaboklab(80.86% -0.0244 0.098)
OKLCHoklch(80.86% 0.101 104)
XYZxyz(47.5804, 53.4620, 24.6390)
Luminance0.5346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBC475 #757CCB
analogous
#CB9975 #CBC475 #A7CB75
triadic
#CBC475 #75CBC4 #C475CB
tetradic
#CBC475 #75CB99 #757CCB #CB75A7
square
#CBC475 #75CB99 #757CCB #CB75A7
split-complementary
#CBC475 #75A7CB #9975CB
monochromatic
#908836 #BAB149 #CBC475 #DCD7A1 #ECEACE

Accessibility & contrast

On white

1.80
#CBC475 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#CBC475 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBC475
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBC475#FFFFFF#000000##000000
##CBC4751.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BF6F
Deuteranopia (green-blind)
#D3C378
Tritanopia (blue-blind)
#D6BAB1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cbc475;
/* rgb */ color: rgb(203, 196, 117);
/* oklch */ color: oklch(80.9% 0.101 104.0);
Tailwind
colors: {
  custom: {
    50: '#dcd59e',
    500: '#cbc475',
    950: '#000000',
  },
}
SCSS
$custom: #cbc475;
$custom-light: #dcd59e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbc475",
  "rgb": {
    "r": 203,
    "g": 196,
    "b": 117
  },
  "hsl": {
    "h": 55.116,
    "s": 45.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.80855,
    "c": 0.10096,
    "h": 104
  },
  "luminance": 0.53461
}

Semantic roles & 50–950 ramp

primary
#CBC475
secondary
#4E5496
accent
#38B82D
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #CBC475

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

Preview Lab → · Contrast checker → · Palette generator →

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