#CBAE4B#CBAE4B

#CBAE4B is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.7% C 0.122 H 92.9°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#CBAE4B
RGBrgb(203, 174, 75)
HSLhsl(46, 55%, 55%)
HSVhsv(46, 63%, 80%)
CMYKcmyk(0%, 14.3%, 63.1%, 20.4%)
CIE-LABlab(71.88, -0.88, 53.32)
CIE-LCHlch(71.88, 53.33, 90.95°)
OKLaboklab(75.74% -0.0062 0.1221)
OKLCHoklch(75.74% 0.122 92.9)
XYZxyz(41.0366, 43.4788, 12.8860)
Luminance0.4348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAE4B #4B68CB
analogous
#CB6E4B #CBAE4B #A8CB4B
triadic
#CBAE4B #4BCBAE #AE4BCB
tetradic
#CBAE4B #4BCB6E #4B68CB #CB4BA8
square
#CBAE4B #4BCB6E #4B68CB #CB4BA8
split-complementary
#CBAE4B #4BA8CB #6E4BCB
monochromatic
#796523 #A88D31 #CBAE4B #D9C37A #E6D9AA

Accessibility & contrast

On white

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

On black

9.70
#CBAE4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAE4B
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAE4B#FFFFFF#000000##000000
##CBAE4B1.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB40
Deuteranopia (green-blind)
#C6B450
Tritanopia (blue-blind)
#DBA199
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cbae4b;
/* rgb */ color: rgb(203, 174, 75);
/* oklch */ color: oklch(75.7% 0.122 92.9);
Tailwind
colors: {
  custom: {
    50: '#dec581',
    500: '#cbae4b',
    950: '#000000',
  },
}
SCSS
$custom: #cbae4b;
$custom-light: #dec581;
$custom-dark: #000000;
JSON
{
  "hex": "#cbae4b",
  "rgb": {
    "r": 203,
    "g": 174,
    "b": 75
  },
  "hsl": {
    "h": 46.406,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.75735,
    "c": 0.12221,
    "h": 92.9
  },
  "luminance": 0.43477
}

Semantic roles & 50–950 ramp

primary
#CBAE4B
secondary
#9EAAD4
accent
#6BDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CBAE4B

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

Preview Lab → · Contrast checker → · Palette generator →

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