#CBB25C#CBB25C

#CBB25C is a light, moderate yellow. Relative luminance 0.453; OKLCH L 76.8% C 0.110 H 93.5°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#CBB25C
RGBrgb(203, 178, 92)
HSLhsl(46, 52%, 58%)
HSVhsv(46, 55%, 80%)
CMYKcmyk(0%, 12.3%, 54.7%, 20.4%)
CIE-LABlab(73.10, -1.75, 46.70)
CIE-LCHlch(73.10, 46.74, 92.14°)
OKLaboklab(76.75% -0.0066 0.1099)
OKLCHoklch(76.75% 0.11 93.5)
XYZxyz(42.4824, 45.3120, 16.6315)
Luminance0.4531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB25C #5C75CB
analogous
#CB7A5C #CBB25C #ADCB5C
triadic
#CBB25C #5CCBB2 #B25CCB
tetradic
#CBB25C #5CCB7A #5C75CB #CB5CAD
square
#CBB25C #5CCB7A #5C75CB #CB5CAD
split-complementary
#CBB25C #5CADCB #7A5CCB
monochromatic
#836F2A #B19639 #CBB25C #DAC88A #E9DEB9

Accessibility & contrast

On white

2.09
#CBB25C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#CBB25C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB25C
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB25C#FFFFFF#000000##000000
##CBB25C1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF54
Deuteranopia (green-blind)
#C8B760
Tritanopia (blue-blind)
#D9A69E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb25c;
/* rgb */ color: rgb(203, 178, 92);
/* oklch */ color: oklch(76.8% 0.110 93.5);
Tailwind
colors: {
  custom: {
    50: '#ddc88c',
    500: '#cbb25c',
    950: '#000000',
  },
}
SCSS
$custom: #cbb25c;
$custom-light: #ddc88c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb25c",
  "rgb": {
    "r": 203,
    "g": 178,
    "b": 92
  },
  "hsl": {
    "h": 46.486,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.76754,
    "c": 0.11008,
    "h": 93.5
  },
  "luminance": 0.4531
}

Semantic roles & 50–950 ramp

primary
#CBB25C
secondary
#ABB5D8
accent
#6DDB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBB25C

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

Preview Lab → · Contrast checker → · Palette generator →

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