#CAB43B#CAB43B

#CAB43B is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.7% C 0.138 H 98.7°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#CAB43B
RGBrgb(202, 180, 59)
HSLhsl(51, 57%, 51%)
HSVhsv(51, 71%, 79%)
CMYKcmyk(0%, 10.9%, 70.8%, 20.8%)
CIE-LABlab(73.23, -5.39, 61.44)
CIE-LCHlch(73.23, 61.68, 95.01°)
OKLaboklab(76.74% -0.0209 0.1367)
OKLCHoklch(76.74% 0.138 98.7)
XYZxyz(41.4698, 45.5169, 10.7381)
Luminance0.4551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB43B #3B51CA
analogous
#CA6C3B #CAB43B #98CA3B
triadic
#CAB43B #3BCAB4 #B43BCA
tetradic
#CAB43B #3BCA6C #3B51CA #CA3B98
square
#CAB43B #3BCA6C #3B51CA #CA3B98
split-complementary
#CAB43B #3B98CA #6C3BCA
monochromatic
#6D611E #9D8C2B #CAB43B #D7C66B #E4D99B

Accessibility & contrast

On white

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

On black

10.10
#CAB43B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB43B
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB43B#FFFFFF#000000##000000
##CAB43B1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF29
Deuteranopia (green-blind)
#CBB742
Tritanopia (blue-blind)
#DAA79C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab43b;
/* rgb */ color: rgb(202, 180, 59);
/* oklch */ color: oklch(76.7% 0.138 98.7);
Tailwind
colors: {
  custom: {
    50: '#deca78',
    500: '#cab43b',
    950: '#000000',
  },
}
SCSS
$custom: #cab43b;
$custom-light: #deca78;
$custom-dark: #000000;
JSON
{
  "hex": "#cab43b",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 59
  },
  "hsl": {
    "h": 50.769,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76742,
    "c": 0.13826,
    "h": 98.7
  },
  "luminance": 0.45515
}

Semantic roles & 50–950 ramp

primary
#CAB43B
secondary
#919BD0
accent
#5FE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CAB43B

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

Preview Lab → · Contrast checker → · Palette generator →

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