#CAB934#CAB934

#CAB934 is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.7% C 0.147 H 101.8°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#CAB934
RGBrgb(202, 185, 52)
HSLhsl(53, 59%, 50%)
HSVhsv(53, 74%, 79%)
CMYKcmyk(0%, 8.4%, 74.3%, 20.8%)
CIE-LABlab(74.51, -8.31, 65.26)
CIE-LCHlch(74.51, 65.78, 97.26°)
OKLaboklab(77.74% -0.0299 0.1435)
OKLCHoklch(77.74% 0.147 101.8)
XYZxyz(42.3279, 47.5043, 10.1878)
Luminance0.4750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB934 #3445CA
analogous
#CA6E34 #CAB934 #90CA34
triadic
#CAB934 #34CAB9 #B934CA
tetradic
#CAB934 #34CA6E #3445CA #CA3490
square
#CAB934 #34CA6E #3445CA #CA3490
split-complementary
#CAB934 #3490CA #6E34CA
monochromatic
#69601B #998C27 #CAB934 #D7CA64 #E4DB95

Accessibility & contrast

On white

2.00
#CAB934 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#CAB934 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB934
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB934#FFFFFF#000000##000000
##CAB9341.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB31A
Deuteranopia (green-blind)
#CFBA3D
Tritanopia (blue-blind)
#DAAC9F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cab934;
/* rgb */ color: rgb(202, 185, 52);
/* oklch */ color: oklch(77.7% 0.147 101.8);
Tailwind
colors: {
  custom: {
    50: '#decd75',
    500: '#cab934',
    950: '#000000',
  },
}
SCSS
$custom: #cab934;
$custom-light: #decd75;
$custom-dark: #000000;
JSON
{
  "hex": "#cab934",
  "rgb": {
    "r": 202,
    "g": 185,
    "b": 52
  },
  "hsl": {
    "h": 53.2,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.77744,
    "c": 0.14654,
    "h": 101.8
  },
  "luminance": 0.47502
}

Semantic roles & 50–950 ramp

primary
#CAB934
secondary
#8B93CF
accent
#57E246
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CAB934

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

Preview Lab → · Contrast checker → · Palette generator →

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