#CABA35#CABA35

#CABA35 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.0% C 0.147 H 102.2°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#CABA35
RGBrgb(202, 186, 53)
HSLhsl(54, 58%, 50%)
HSVhsv(54, 74%, 79%)
CMYKcmyk(0%, 7.9%, 73.8%, 20.8%)
CIE-LABlab(74.78, -8.78, 65.16)
CIE-LCHlch(74.78, 65.75, 97.67°)
OKLaboklab(77.96% -0.0311 0.1435)
OKLCHoklch(77.96% 0.147 102.2)
XYZxyz(42.5606, 47.9333, 10.3777)
Luminance0.4793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABA35 #3545CA
analogous
#CA6F35 #CABA35 #90CA35
triadic
#CABA35 #35CABA #BA35CA
tetradic
#CABA35 #35CA6F #3545CA #CA3590
square
#CABA35 #35CA6F #3545CA #CA3590
split-complementary
#CABA35 #3590CA #6F35CA
monochromatic
#69611C #9A8D28 #CABA35 #D7CB65 #E3DB96

Accessibility & contrast

On white

1.98
#CABA35 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#CABA35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABA35
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABA35#FFFFFF#000000##000000
##CABA351.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB41C
Deuteranopia (green-blind)
#D0BB3E
Tritanopia (blue-blind)
#DAADA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #caba35;
/* rgb */ color: rgb(202, 186, 53);
/* oklch */ color: oklch(78.0% 0.147 102.2);
Tailwind
colors: {
  custom: {
    50: '#dece76',
    500: '#caba35',
    950: '#000000',
  },
}
SCSS
$custom: #caba35;
$custom-light: #dece76;
$custom-dark: #000000;
JSON
{
  "hex": "#caba35",
  "rgb": {
    "r": 202,
    "g": 186,
    "b": 53
  },
  "hsl": {
    "h": 53.557,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.77962,
    "c": 0.14679,
    "h": 102.2
  },
  "luminance": 0.47931
}

Semantic roles & 50–950 ramp

primary
#CABA35
secondary
#8C93CF
accent
#57E246
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CABA35

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

Preview Lab → · Contrast checker → · Palette generator →

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