#CABB45#CABB45

#CABB45 is a light, vivid yellow. Relative luminance 0.485; OKLCH L 78.3% C 0.137 H 102.0°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#CABB45
RGBrgb(202, 187, 69)
HSLhsl(53, 56%, 53%)
HSVhsv(53, 66%, 79%)
CMYKcmyk(0%, 7.4%, 65.8%, 20.8%)
CIE-LABlab(75.16, -8.48, 59.40)
CIE-LCHlch(75.16, 60.00, 98.12°)
OKLaboklab(78.29% -0.0286 0.1341)
OKLCHoklch(78.29% 0.137 102)
XYZxyz(43.2034, 48.5287, 12.7203)
Luminance0.4853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB45 #4554CA
analogous
#CA7845 #CABB45 #96CA45
triadic
#CABB45 #45CABB #BB45CA
tetradic
#CABB45 #45CA78 #4554CA #CA4596
square
#CABB45 #45CA78 #4554CA #CA4596
split-complementary
#CABB45 #4596CA #7845CA
monochromatic
#746A21 #A3962F #CABB45 #D8CC75 #E5DEA4

Accessibility & contrast

On white

1.96
#CABB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.71
#CABB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABB45
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABB45#FFFFFF#000000##000000
##CABB451.001.9610.7110.71
#FFFFFF1.961.0021.0021.00
#00000010.7121.001.001.00
##00000010.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB536
Deuteranopia (green-blind)
#D0BC4C
Tritanopia (blue-blind)
#D9AEA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb45;
/* rgb */ color: rgb(202, 187, 69);
/* oklch */ color: oklch(78.3% 0.137 102.0);
Tailwind
colors: {
  custom: {
    50: '#ddcf7f',
    500: '#cabb45',
    950: '#000000',
  },
}
SCSS
$custom: #cabb45;
$custom-light: #ddcf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb45",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 69
  },
  "hsl": {
    "h": 53.233,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78294,
    "c": 0.13706,
    "h": 102
  },
  "luminance": 0.48527
}

Semantic roles & 50–950 ramp

primary
#CABB45
secondary
#999FD2
accent
#5ADF49
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CABB45

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

Preview Lab → · Contrast checker → · Palette generator →

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