#CABD4C#CABD4C

#CABD4C is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.8% C 0.133 H 102.8°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#CABD4C
RGBrgb(202, 189, 76)
HSLhsl(54, 54%, 55%)
HSVhsv(54, 62%, 79%)
CMYKcmyk(0%, 6.4%, 62.4%, 20.8%)
CIE-LABlab(75.75, -9.08, 57.06)
CIE-LCHlch(75.75, 57.77, 99.04°)
OKLaboklab(78.78% -0.0295 0.1301)
OKLCHoklch(78.78% 0.133 102.8)
XYZxyz(43.8609, 49.4752, 14.0754)
Luminance0.4947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABD4C #4C59CA
analogous
#CA7E4C #CABD4C #98CA4C
triadic
#CABD4C #4CCABD #BD4CCA
tetradic
#CABD4C #4CCA7E #4C59CA #CA4C98
square
#CABD4C #4CCA7E #4C59CA #CA4C98
split-complementary
#CABD4C #4C98CA #7E4CCA
monochromatic
#786F24 #A79B32 #CABD4C #D8CE7B #E6E0AA

Accessibility & contrast

On white

1.93
#CABD4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#CABD4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABD4C
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABD4C#FFFFFF#000000##000000
##CABD4C1.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB73F
Deuteranopia (green-blind)
#D1BD52
Tritanopia (blue-blind)
#D8B1A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cabd4c;
/* rgb */ color: rgb(202, 189, 76);
/* oklch */ color: oklch(78.8% 0.133 102.8);
Tailwind
colors: {
  custom: {
    50: '#ddd083',
    500: '#cabd4c',
    950: '#000000',
  },
}
SCSS
$custom: #cabd4c;
$custom-light: #ddd083;
$custom-dark: #000000;
JSON
{
  "hex": "#cabd4c",
  "rgb": {
    "r": 202,
    "g": 189,
    "b": 76
  },
  "hsl": {
    "h": 53.81,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.7878,
    "c": 0.13344,
    "h": 102.8
  },
  "luminance": 0.49474
}

Semantic roles & 50–950 ramp

primary
#CABD4C
secondary
#9EA4D4
accent
#59DE4A
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #CABD4C

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

Preview Lab → · Contrast checker → · Palette generator →

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