#CAB034#CAB034

#CAB034 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.9% C 0.140 H 96.8°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#CAB034
RGBrgb(202, 176, 52)
HSLhsl(50, 59%, 50%)
HSVhsv(50, 74%, 79%)
CMYKcmyk(0%, 12.9%, 74.3%, 20.8%)
CIE-LABlab(72.13, -3.62, 63.00)
CIE-LCHlch(72.13, 63.10, 93.29°)
OKLaboklab(75.86% -0.0166 0.1387)
OKLCHoklch(75.86% 0.14 96.8)
XYZxyz(40.5044, 43.8573, 9.5800)
Luminance0.4385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB034 #344ECA
analogous
#CA6534 #CAB034 #99CA34
triadic
#CAB034 #34CAB0 #B034CA
tetradic
#CAB034 #34CA65 #344ECA #CA3499
square
#CAB034 #34CA65 #344ECA #CA3499
split-complementary
#CAB034 #3499CA #6534CA
monochromatic
#695B1B #998627 #CAB034 #D7C364 #E4D695

Accessibility & contrast

On white

2.15
#CAB034 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#CAB034 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB034
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB034#FFFFFF#000000##000000
##CAB0341.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1E
Deuteranopia (green-blind)
#C9B43C
Tritanopia (blue-blind)
#DAA298
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cab034;
/* rgb */ color: rgb(202, 176, 52);
/* oklch */ color: oklch(75.9% 0.140 96.8);
Tailwind
colors: {
  custom: {
    50: '#dec774',
    500: '#cab034',
    950: '#000000',
  },
}
SCSS
$custom: #cab034;
$custom-light: #dec774;
$custom-dark: #000000;
JSON
{
  "hex": "#cab034",
  "rgb": {
    "r": 202,
    "g": 176,
    "b": 52
  },
  "hsl": {
    "h": 49.6,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.75858,
    "c": 0.13966,
    "h": 96.8
  },
  "luminance": 0.43855
}

Semantic roles & 50–950 ramp

primary
#CAB034
secondary
#8B97CF
accent
#61E246
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CAB034

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

Preview Lab → · Contrast checker → · Palette generator →

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