#CABD5B#CABD5B

#CABD5B is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.9% C 0.120 H 101.8°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#CABD5B
RGBrgb(202, 189, 91)
HSLhsl(53, 51%, 57%)
HSVhsv(53, 55%, 79%)
CMYKcmyk(0%, 6.4%, 55%, 20.8%)
CIE-LABlab(75.89, -7.99, 50.42)
CIE-LCHlch(75.89, 51.05, 99.00°)
OKLaboklab(78.94% -0.0247 0.1179)
OKLCHoklch(78.94% 0.12 101.8)
XYZxyz(44.4445, 49.7087, 17.1491)
Luminance0.4971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABD5B #5B68CA
analogous
#CA865B #CABD5B #9FCA5B
triadic
#CABD5B #5BCABD #BD5BCA
tetradic
#CABD5B #5BCA86 #5B68CA #CA5B9F
square
#CABD5B #5BCA86 #5B68CA #CA5B9F
split-complementary
#CABD5B #5B9FCA #865BCA
monochromatic
#81772A #AFA139 #CABD5B #D9D089 #E8E2B8

Accessibility & contrast

On white

1.92
#CABD5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#CABD5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABD5B
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABD5B#FFFFFF#000000##000000
##CABD5B1.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB851
Deuteranopia (green-blind)
#D0BE60
Tritanopia (blue-blind)
#D8B2A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cabd5b;
/* rgb */ color: rgb(202, 189, 91);
/* oklch */ color: oklch(78.9% 0.120 101.8);
Tailwind
colors: {
  custom: {
    50: '#dcd08c',
    500: '#cabd5b',
    950: '#000000',
  },
}
SCSS
$custom: #cabd5b;
$custom-light: #dcd08c;
$custom-dark: #000000;
JSON
{
  "hex": "#cabd5b",
  "rgb": {
    "r": 202,
    "g": 189,
    "b": 91
  },
  "hsl": {
    "h": 52.973,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.78941,
    "c": 0.1204,
    "h": 101.8
  },
  "luminance": 0.49707
}

Semantic roles & 50–950 ramp

primary
#CABD5B
secondary
#AAAFD7
accent
#5EDB4D
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140C
muted
#83827D

Preview Lab

Preview with #CABD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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