#CBB25D#CBB25D

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

Color values

HEX#CBB25D
RGBrgb(203, 178, 93)
HSLhsl(46, 51%, 58%)
HSVhsv(46, 54%, 80%)
CMYKcmyk(0%, 12.3%, 54.2%, 20.4%)
CIE-LABlab(73.11, -1.67, 46.23)
CIE-LCHlch(73.11, 46.26, 92.06°)
OKLaboklab(76.77% -0.0063 0.1089)
OKLCHoklch(76.77% 0.109 93.3)
XYZxyz(42.5264, 45.3296, 16.8633)
Luminance0.4533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB25D #5D76CB
analogous
#CB7B5D #CBB25D #ADCB5D
triadic
#CBB25D #5DCBB2 #B25DCB
tetradic
#CBB25D #5DCB7B #5D76CB #CB5DAD
square
#CBB25D #5DCB7B #5D76CB #CB5DAD
split-complementary
#CBB25D #5DADCB #7B5DCB
monochromatic
#836F2A #B29639 #CBB25D #DAC88B #E9DEBA

Accessibility & contrast

On white

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

On black

10.07
#CBB25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBB25D
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBB25D#FFFFFF#000000##000000
##CBB25D1.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbb25d;
/* rgb */ color: rgb(203, 178, 93);
/* oklch */ color: oklch(76.8% 0.109 93.3);
Tailwind
colors: {
  custom: {
    50: '#ddc88d',
    500: '#cbb25d',
    950: '#000000',
  },
}
SCSS
$custom: #cbb25d;
$custom-light: #ddc88d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb25d",
  "rgb": {
    "r": 203,
    "g": 178,
    "b": 93
  },
  "hsl": {
    "h": 46.364,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.76766,
    "c": 0.10912,
    "h": 93.3
  },
  "luminance": 0.45328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBB25D

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

Preview Lab → · Contrast checker → · Palette generator →

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