#CABB40#CABB40

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

Color values

HEX#CABB40
RGBrgb(202, 187, 64)
HSLhsl(53, 57%, 52%)
HSVhsv(53, 68%, 79%)
CMYKcmyk(0%, 7.4%, 68.3%, 20.8%)
CIE-LABlab(75.12, -8.76, 61.38)
CIE-LCHlch(75.12, 62.00, 98.12°)
OKLaboklab(78.25% -0.0299 0.1374)
OKLCHoklch(78.25% 0.141 102.3)
XYZxyz(43.0547, 48.4692, 11.9371)
Luminance0.4847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB40 #404FCA
analogous
#CA7640 #CABB40 #94CA40
triadic
#CABB40 #40CABB #BB40CA
tetradic
#CABB40 #40CA76 #404FCA #CA4094
square
#CABB40 #40CA76 #404FCA #CA4094
split-complementary
#CABB40 #4094CA #7640CA
monochromatic
#70681F #A0942C #CABB40 #D7CC70 #E5DDA0

Accessibility & contrast

On white

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

On black

10.69
#CABB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABB40
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABB40#FFFFFF#000000##000000
##CABB401.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52E
Deuteranopia (green-blind)
#D0BC48
Tritanopia (blue-blind)
#D9AEA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb40;
/* rgb */ color: rgb(202, 187, 64);
/* oklch */ color: oklch(78.3% 0.141 102.3);
Tailwind
colors: {
  custom: {
    50: '#decf7c',
    500: '#cabb40',
    950: '#000000',
  },
}
SCSS
$custom: #cabb40;
$custom-light: #decf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb40",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 53.478,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78252,
    "c": 0.14064,
    "h": 102.3
  },
  "luminance": 0.48467
}

Semantic roles & 50–950 ramp

primary
#CABB40
secondary
#959BD1
accent
#58E048
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CABB40

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

Preview Lab → · Contrast checker → · Palette generator →

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