#CBAE3B#CBAE3B

#CBAE3B is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.6% C 0.134 H 94.6°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#CBAE3B
RGBrgb(203, 174, 59)
HSLhsl(48, 58%, 51%)
HSVhsv(48, 71%, 80%)
CMYKcmyk(0%, 14.3%, 70.9%, 20.4%)
CIE-LABlab(71.75, -1.81, 60.00)
CIE-LCHlch(71.75, 60.03, 91.72°)
OKLaboklab(75.59% -0.0107 0.1336)
OKLCHoklch(75.59% 0.134 94.6)
XYZxyz(40.5562, 43.2866, 10.3558)
Luminance0.4328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAE3B #3B58CB
analogous
#CB663B #CBAE3B #A0CB3B
triadic
#CBAE3B #3BCBAE #AE3BCB
tetradic
#CBAE3B #3BCB66 #3B58CB #CB3BA0
square
#CBAE3B #3BCB66 #3B58CB #CB3BA0
split-complementary
#CBAE3B #3BA0CB #663BCB
monochromatic
#6E5E1D #9F872A #CBAE3B #D8C26B #E5D69C

Accessibility & contrast

On white

2.17
#CBAE3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#CBAE3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAE3B
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAE3B#FFFFFF#000000##000000
##CBAE3B1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB2A
Deuteranopia (green-blind)
#C7B441
Tritanopia (blue-blind)
#DBA097
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cbae3b;
/* rgb */ color: rgb(203, 174, 59);
/* oklch */ color: oklch(75.6% 0.134 94.6);
Tailwind
colors: {
  custom: {
    50: '#dfc578',
    500: '#cbae3b',
    950: '#000000',
  },
}
SCSS
$custom: #cbae3b;
$custom-light: #dfc578;
$custom-dark: #000000;
JSON
{
  "hex": "#cbae3b",
  "rgb": {
    "r": 203,
    "g": 174,
    "b": 59
  },
  "hsl": {
    "h": 47.917,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75591,
    "c": 0.13401,
    "h": 94.6
  },
  "luminance": 0.43284
}

Semantic roles & 50–950 ramp

primary
#CBAE3B
secondary
#919ED1
accent
#66E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CBAE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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