#CABD48#CABD48

#CABD48 is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.7% C 0.137 H 103.0°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#CABD48
RGBrgb(202, 189, 72)
HSLhsl(54, 55%, 54%)
HSVhsv(54, 64%, 79%)
CMYKcmyk(0%, 6.4%, 64.4%, 20.8%)
CIE-LABlab(75.71, -9.33, 58.73)
CIE-LCHlch(75.71, 59.46, 99.03°)
OKLaboklab(78.74% -0.0306 0.1331)
OKLCHoklch(78.74% 0.137 103)
XYZxyz(43.7261, 49.4213, 13.3656)
Luminance0.4942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABD48 #4855CA
analogous
#CA7C48 #CABD48 #96CA48
triadic
#CABD48 #48CABD #BD48CA
tetradic
#CABD48 #48CA7C #4855CA #CA4896
square
#CABD48 #48CA7C #4855CA #CA4896
split-complementary
#CABD48 #4896CA #7C48CA
monochromatic
#766D22 #A59930 #CABD48 #D8CE77 #E5DFA7

Accessibility & contrast

On white

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

On black

10.88
#CABD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABD48
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABD48#FFFFFF#000000##000000
##CABD481.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB739
Deuteranopia (green-blind)
#D1BD4F
Tritanopia (blue-blind)
#D9B1A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cabd48;
/* rgb */ color: rgb(202, 189, 72);
/* oklch */ color: oklch(78.7% 0.137 103.0);
Tailwind
colors: {
  custom: {
    50: '#ddd080',
    500: '#cabd48',
    950: '#000000',
  },
}
SCSS
$custom: #cabd48;
$custom-light: #ddd080;
$custom-dark: #000000;
JSON
{
  "hex": "#cabd48",
  "rgb": {
    "r": 202,
    "g": 189,
    "b": 72
  },
  "hsl": {
    "h": 54,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78743,
    "c": 0.13658,
    "h": 103
  },
  "luminance": 0.4942
}

Semantic roles & 50–950 ramp

primary
#CABD48
secondary
#9BA1D3
accent
#58DE49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#15130B
muted
#84827C

Preview Lab

Preview with #CABD48

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

Preview Lab → · Contrast checker → · Palette generator →

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