#CAB43C#CAB43C

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

Color values

HEX#CAB43C
RGBrgb(202, 180, 60)
HSLhsl(51, 57%, 51%)
HSVhsv(51, 70%, 79%)
CMYKcmyk(0%, 10.9%, 70.3%, 20.8%)
CIE-LABlab(73.24, -5.34, 61.06)
CIE-LCHlch(73.24, 61.29, 95.00°)
OKLaboklab(76.75% -0.0206 0.1361)
OKLCHoklch(76.75% 0.138 98.6)
XYZxyz(41.4959, 45.5273, 10.8760)
Luminance0.4552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB43C #3C52CA
analogous
#CA6D3C #CAB43C #99CA3C
triadic
#CAB43C #3CCAB4 #B43CCA
tetradic
#CAB43C #3CCA6D #3C52CA #CA3C99
square
#CAB43C #3CCA6D #3C52CA #CA3C99
split-complementary
#CAB43C #3C99CA #6D3CCA
monochromatic
#6E611E #9E8C2B #CAB43C #D7C76C #E4D99C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB43C#FFFFFF#000000##000000
##CAB43C1.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)
#C5AF2A
Deuteranopia (green-blind)
#CBB743
Tritanopia (blue-blind)
#DAA79C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab43c;
/* rgb */ color: rgb(202, 180, 60);
/* oklch */ color: oklch(76.8% 0.138 98.6);
Tailwind
colors: {
  custom: {
    50: '#deca79',
    500: '#cab43c',
    950: '#000000',
  },
}
SCSS
$custom: #cab43c;
$custom-light: #deca79;
$custom-dark: #000000;
JSON
{
  "hex": "#cab43c",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 60
  },
  "hsl": {
    "h": 50.704,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.7675,
    "c": 0.1376,
    "h": 98.6
  },
  "luminance": 0.45525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB43C

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

Preview Lab → · Contrast checker → · Palette generator →

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