#CABD45#CABD45

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

Color values

HEX#CABD45
RGBrgb(202, 189, 69)
HSLhsl(54, 56%, 53%)
HSVhsv(54, 66%, 79%)
CMYKcmyk(0%, 6.4%, 65.8%, 20.8%)
CIE-LABlab(75.69, -9.51, 59.95)
CIE-LCHlch(75.69, 60.70, 99.01°)
OKLaboklab(78.72% -0.0315 0.1352)
OKLCHoklch(78.72% 0.139 103.1)
XYZxyz(43.6306, 49.3831, 12.8627)
Luminance0.4938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABD45 #4552CA
analogous
#CA7A45 #CABD45 #95CA45
triadic
#CABD45 #45CABD #BD45CA
tetradic
#CABD45 #45CA7A #4552CA #CA4595
square
#CABD45 #45CA7A #4552CA #CA4595
split-complementary
#CABD45 #4595CA #7A45CA
monochromatic
#746C21 #A3982F #CABD45 #D8CE75 #E5DFA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CABD45#FFFFFF#000000##000000
##CABD451.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)
#CDB735
Deuteranopia (green-blind)
#D2BD4C
Tritanopia (blue-blind)
#D9B0A4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cabd45;
/* rgb */ color: rgb(202, 189, 69);
/* oklch */ color: oklch(78.7% 0.139 103.1);
Tailwind
colors: {
  custom: {
    50: '#ddd07f',
    500: '#cabd45',
    950: '#000000',
  },
}
SCSS
$custom: #cabd45;
$custom-light: #ddd07f;
$custom-dark: #000000;
JSON
{
  "hex": "#cabd45",
  "rgb": {
    "r": 202,
    "g": 189,
    "b": 69
  },
  "hsl": {
    "h": 54.135,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78716,
    "c": 0.13884,
    "h": 103.1
  },
  "luminance": 0.49381
}

Semantic roles & 50–950 ramp

primary
#CABD45
secondary
#999ED2
accent
#58DF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CABD45

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

Preview Lab → · Contrast checker → · Palette generator →

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