#CABB39#CABB39

#CABB39 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.2% C 0.145 H 102.6°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#CABB39
RGBrgb(202, 187, 57)
HSLhsl(54, 58%, 51%)
HSVhsv(54, 72%, 79%)
CMYKcmyk(0%, 7.4%, 71.8%, 20.8%)
CIE-LABlab(75.07, -9.11, 64.01)
CIE-LCHlch(75.07, 64.65, 98.10°)
OKLaboklab(78.2% -0.0316 0.1417)
OKLCHoklch(78.2% 0.145 102.6)
XYZxyz(42.8679, 48.3944, 10.9531)
Luminance0.4839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABB39 #3948CA
analogous
#CA7239 #CABB39 #90CA39
triadic
#CABB39 #39CABB #BB39CA
tetradic
#CABB39 #39CA72 #3948CA #CA3990
square
#CABB39 #39CA72 #3948CA #CA3990
split-complementary
#CABB39 #3990CA #7239CA
monochromatic
#6C641D #9C902A #CABB39 #D7CC69 #E4DC9A

Accessibility & contrast

On white

1.97
#CABB39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.68
#CABB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABB39
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABB39#FFFFFF#000000##000000
##CABB391.001.9710.6810.68
#FFFFFF1.971.0021.0021.00
#00000010.6821.001.001.00
##00000010.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB523
Deuteranopia (green-blind)
#D1BC42
Tritanopia (blue-blind)
#D9AEA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cabb39;
/* rgb */ color: rgb(202, 187, 57);
/* oklch */ color: oklch(78.2% 0.145 102.6);
Tailwind
colors: {
  custom: {
    50: '#decf78',
    500: '#cabb39',
    950: '#000000',
  },
}
SCSS
$custom: #cabb39;
$custom-light: #decf78;
$custom-dark: #000000;
JSON
{
  "hex": "#cabb39",
  "rgb": {
    "r": 202,
    "g": 187,
    "b": 57
  },
  "hsl": {
    "h": 53.793,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.782,
    "c": 0.14523,
    "h": 102.6
  },
  "luminance": 0.48393
}

Semantic roles & 50–950 ramp

primary
#CABB39
secondary
#8F96D0
accent
#57E147
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CABB39

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

Preview Lab → · Contrast checker → · Palette generator →

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