#CAB834#CAB834

#CAB834 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.5% C 0.146 H 101.2°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#CAB834
RGBrgb(202, 184, 52)
HSLhsl(53, 59%, 50%)
HSVhsv(53, 74%, 79%)
CMYKcmyk(0%, 8.9%, 74.3%, 20.8%)
CIE-LABlab(74.25, -7.79, 65.01)
CIE-LCHlch(74.25, 65.47, 96.83°)
OKLaboklab(77.53% -0.0284 0.1429)
OKLCHoklch(77.53% 0.146 101.2)
XYZxyz(42.1194, 47.0874, 10.1183)
Luminance0.4708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB834 #3446CA
analogous
#CA6D34 #CAB834 #91CA34
triadic
#CAB834 #34CAB8 #B834CA
tetradic
#CAB834 #34CA6D #3446CA #CA3491
square
#CAB834 #34CA6D #3446CA #CA3491
split-complementary
#CAB834 #3491CA #6D34CA
monochromatic
#695F1B #998C27 #CAB834 #D7C964 #E4DA95

Accessibility & contrast

On white

2.02
#CAB834 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#CAB834 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB834
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB834#FFFFFF#000000##000000
##CAB8341.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cab834;
/* rgb */ color: rgb(202, 184, 52);
/* oklch */ color: oklch(77.5% 0.146 101.2);
Tailwind
colors: {
  custom: {
    50: '#decc75',
    500: '#cab834',
    950: '#000000',
  },
}
SCSS
$custom: #cab834;
$custom-light: #decc75;
$custom-dark: #000000;
JSON
{
  "hex": "#cab834",
  "rgb": {
    "r": 202,
    "g": 184,
    "b": 52
  },
  "hsl": {
    "h": 52.8,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.77533,
    "c": 0.14572,
    "h": 101.2
  },
  "luminance": 0.47085
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB834

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

Preview Lab → · Contrast checker → · Palette generator →

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