#CBB25E#CBB25E

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

Color values

HEX#CBB25E
RGBrgb(203, 178, 94)
HSLhsl(46, 51%, 58%)
HSVhsv(46, 54%, 80%)
CMYKcmyk(0%, 12.3%, 53.7%, 20.4%)
CIE-LABlab(73.12, -1.58, 45.75)
CIE-LCHlch(73.12, 45.78, 91.98°)
OKLaboklab(76.78% -0.0059 0.108)
OKLCHoklch(76.78% 0.108 93.1)
XYZxyz(42.5710, 45.3474, 17.0981)
Luminance0.4535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBB25E #5E77CB
analogous
#CB7B5E #CBB25E #ADCB5E
triadic
#CBB25E #5ECBB2 #B25ECB
tetradic
#CBB25E #5ECB7B #5E77CB #CB5EAD
square
#CBB25E #5ECB7B #5E77CB #CB5EAD
split-complementary
#CBB25E #5EADCB #7B5ECB
monochromatic
#846F2B #B2973A #CBB25E #DAC88C #E9DEBB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBB25E#FFFFFF#000000##000000
##CBB25E1.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)
#C2AF56
Deuteranopia (green-blind)
#C8B761
Tritanopia (blue-blind)
#D9A79F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cbb25e;
/* rgb */ color: rgb(203, 178, 94);
/* oklch */ color: oklch(76.8% 0.108 93.1);
Tailwind
colors: {
  custom: {
    50: '#ddc88e',
    500: '#cbb25e',
    950: '#000000',
  },
}
SCSS
$custom: #cbb25e;
$custom-light: #ddc88e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbb25e",
  "rgb": {
    "r": 203,
    "g": 178,
    "b": 94
  },
  "hsl": {
    "h": 46.239,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.76779,
    "c": 0.10816,
    "h": 93.1
  },
  "luminance": 0.45345
}

Semantic roles & 50–950 ramp

primary
#CBB25E
secondary
#ADB7D8
accent
#6EDB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #CBB25E

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

Preview Lab → · Contrast checker → · Palette generator →

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