#CBB25B#CBB25B

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

Color values

HEX#CBB25B
RGBrgb(203, 178, 91)
HSLhsl(47, 52%, 58%)
HSVhsv(47, 55%, 80%)
CMYKcmyk(0%, 12.3%, 55.2%, 20.4%)
CIE-LABlab(73.09, -1.83, 47.18)
CIE-LCHlch(73.09, 47.21, 92.22°)
OKLaboklab(76.74% -0.007 0.1108)
OKLCHoklch(76.74% 0.111 93.6)
XYZxyz(42.4390, 45.2946, 16.4028)
Luminance0.4529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB25B #5B74CB
analogous
#CB7A5B #CBB25B #ACCB5B
triadic
#CBB25B #5BCBB2 #B25BCB
tetradic
#CBB25B #5BCB7A #5B74CB #CB5BAC
square
#CBB25B #5BCB7A #5B74CB #CB5BAC
split-complementary
#CBB25B #5BACCB #7A5BCB
monochromatic
#826E29 #B19638 #CBB25B #DAC889 #E8DEB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBB25B#FFFFFF#000000##000000
##CBB25B1.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)
#C2AF53
Deuteranopia (green-blind)
#C8B75F
Tritanopia (blue-blind)
#D9A69E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb25b;
/* rgb */ color: rgb(203, 178, 91);
/* oklch */ color: oklch(76.7% 0.111 93.6);
Tailwind
colors: {
  custom: {
    50: '#ddc88c',
    500: '#cbb25b',
    950: '#000000',
  },
}
SCSS
$custom: #cbb25b;
$custom-light: #ddc88c;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb25b",
  "rgb": {
    "r": 203,
    "g": 178,
    "b": 91
  },
  "hsl": {
    "h": 46.607,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.76741,
    "c": 0.11102,
    "h": 93.6
  },
  "luminance": 0.45293
}

Semantic roles & 50–950 ramp

primary
#CBB25B
secondary
#AAB4D7
accent
#6CDB4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBB25B

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

Preview Lab → · Contrast checker → · Palette generator →

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