#CBAB4B#CBAB4B

#CBAB4B is a light, vivid yellow. Relative luminance 0.423; OKLCH L 75.1% C 0.120 H 90.8°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#CBAB4B
RGBrgb(203, 171, 75)
HSLhsl(45, 55%, 55%)
HSVhsv(45, 63%, 80%)
CMYKcmyk(0%, 15.8%, 63.1%, 20.4%)
CIE-LABlab(71.10, 0.71, 52.47)
CIE-LCHlch(71.10, 52.47, 89.23°)
OKLaboklab(75.12% -0.0016 0.1202)
OKLCHoklch(75.12% 0.12 90.8)
XYZxyz(40.4635, 42.3326, 12.6950)
Luminance0.4233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAB4B #4B6BCB
analogous
#CB6B4B #CBAB4B #ABCB4B
triadic
#CBAB4B #4BCBAB #AB4BCB
tetradic
#CBAB4B #4BCB6B #4B6BCB #CB4BAB
square
#CBAB4B #4BCB6B #4B6BCB #CB4BAB
split-complementary
#CBAB4B #4BABCB #6B4BCB
monochromatic
#796323 #A88A31 #CBAB4B #D9C17A #E6D7AA

Accessibility & contrast

On white

2.22
#CBAB4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#CBAB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAB4B
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAB4B#FFFFFF#000000##000000
##CBAB4B1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA941
Deuteranopia (green-blind)
#C4B24F
Tritanopia (blue-blind)
#DB9E96
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cbab4b;
/* rgb */ color: rgb(203, 171, 75);
/* oklch */ color: oklch(75.1% 0.120 90.8);
Tailwind
colors: {
  custom: {
    50: '#dec381',
    500: '#cbab4b',
    950: '#000000',
  },
}
SCSS
$custom: #cbab4b;
$custom-light: #dec381;
$custom-dark: #000000;
JSON
{
  "hex": "#cbab4b",
  "rgb": {
    "r": 203,
    "g": 171,
    "b": 75
  },
  "hsl": {
    "h": 45,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.7512,
    "c": 0.12023,
    "h": 90.8
  },
  "luminance": 0.4233
}

Semantic roles & 50–950 ramp

primary
#CBAB4B
secondary
#9EABD4
accent
#6FDF49
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CBAB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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