#CAB43E#CAB43E

#CAB43E is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.8% C 0.136 H 98.5°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#CAB43E
RGBrgb(202, 180, 62)
HSLhsl(51, 57%, 52%)
HSVhsv(51, 69%, 79%)
CMYKcmyk(0%, 10.9%, 69.3%, 20.8%)
CIE-LABlab(73.25, -5.23, 60.29)
CIE-LCHlch(73.25, 60.51, 94.96°)
OKLaboklab(76.77% -0.0201 0.1348)
OKLCHoklch(76.77% 0.136 98.5)
XYZxyz(41.5498, 45.5489, 11.1597)
Luminance0.4555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB43E #3E54CA
analogous
#CA6E3E #CAB43E #9ACA3E
triadic
#CAB43E #3ECAB4 #B43ECA
tetradic
#CAB43E #3ECA6E #3E54CA #CA3E9A
square
#CAB43E #3ECA6E #3E54CA #CA3E9A
split-complementary
#CAB43E #3E9ACA #6E3ECA
monochromatic
#6F621F #9F8D2C #CAB43E #D7C76E #E4D99E

Accessibility & contrast

On white

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

On black

10.11
#CAB43E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB43E
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB43E#FFFFFF#000000##000000
##CAB43E1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cab43e;
/* rgb */ color: rgb(202, 180, 62);
/* oklch */ color: oklch(76.8% 0.136 98.5);
Tailwind
colors: {
  custom: {
    50: '#deca7a',
    500: '#cab43e',
    950: '#000000',
  },
}
SCSS
$custom: #cab43e;
$custom-light: #deca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cab43e",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 62
  },
  "hsl": {
    "h": 50.571,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76765,
    "c": 0.13625,
    "h": 98.5
  },
  "luminance": 0.45547
}

Semantic roles & 50–950 ramp

primary
#CAB43E
secondary
#939DD1
accent
#60E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB43E

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

Preview Lab → · Contrast checker → · Palette generator →

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