#CAB433#CAB433

#CAB433 is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.7% C 0.143 H 99.1°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#CAB433
RGBrgb(202, 180, 51)
HSLhsl(51, 60%, 50%)
HSVhsv(51, 75%, 79%)
CMYKcmyk(0%, 10.9%, 74.8%, 20.8%)
CIE-LABlab(73.18, -5.76, 64.35)
CIE-LCHlch(73.18, 64.61, 95.11°)
OKLaboklab(76.69% -0.0227 0.1414)
OKLCHoklch(76.69% 0.143 99.1)
XYZxyz(41.2780, 45.4401, 9.7279)
Luminance0.4544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB433 #3349CA
analogous
#CA6833 #CAB433 #95CA33
triadic
#CAB433 #33CAB4 #B433CA
tetradic
#CAB433 #33CA68 #3349CA #CA3395
square
#CAB433 #33CA68 #3349CA #CA3395
split-complementary
#CAB433 #3395CA #6833CA
monochromatic
#685D1A #998827 #CAB433 #D8C763 #E4D894

Accessibility & contrast

On white

2.08
#CAB433 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#CAB433 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB433
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB433#FFFFFF#000000##000000
##CAB4331.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF1A
Deuteranopia (green-blind)
#CCB73C
Tritanopia (blue-blind)
#DAA69B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab433;
/* rgb */ color: rgb(202, 180, 51);
/* oklch */ color: oklch(76.7% 0.143 99.1);
Tailwind
colors: {
  custom: {
    50: '#deca74',
    500: '#cab433',
    950: '#000000',
  },
}
SCSS
$custom: #cab433;
$custom-light: #deca74;
$custom-dark: #000000;
JSON
{
  "hex": "#cab433",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 51
  },
  "hsl": {
    "h": 51.258,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76686,
    "c": 0.14317,
    "h": 99.1
  },
  "luminance": 0.45438
}

Semantic roles & 50–950 ramp

primary
#CAB433
secondary
#8A94CF
accent
#5CE345
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CAB433

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

Preview Lab → · Contrast checker → · Palette generator →

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