#CAB043#CAB043

#CAB043 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 76.0% C 0.130 H 95.6°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#CAB043
RGBrgb(202, 176, 67)
HSLhsl(48, 56%, 53%)
HSVhsv(48, 67%, 79%)
CMYKcmyk(0%, 12.9%, 66.8%, 20.8%)
CIE-LABlab(72.24, -2.86, 57.19)
CIE-LCHlch(72.24, 57.26, 92.86°)
OKLaboklab(75.98% -0.0128 0.1291)
OKLCHoklch(75.98% 0.13 95.6)
XYZxyz(40.8975, 44.0146, 11.6506)
Luminance0.4401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB043 #435DCA
analogous
#CA6C43 #CAB043 #A1CA43
triadic
#CAB043 #43CAB0 #B043CA
tetradic
#CAB043 #43CA6C #435DCA #CA43A1
square
#CAB043 #43CA6C #435DCA #CA43A1
split-complementary
#CAB043 #43A1CA #6C43CA
monochromatic
#726320 #A28C2E #CAB043 #D7C473 #E5D8A2

Accessibility & contrast

On white

2.14
#CAB043 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#CAB043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB043
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB043#FFFFFF#000000##000000
##CAB0431.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC35
Deuteranopia (green-blind)
#C8B549
Tritanopia (blue-blind)
#DAA399
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cab043;
/* rgb */ color: rgb(202, 176, 67);
/* oklch */ color: oklch(76.0% 0.130 95.6);
Tailwind
colors: {
  custom: {
    50: '#dec77d',
    500: '#cab043',
    950: '#000000',
  },
}
SCSS
$custom: #cab043;
$custom-light: #dec77d;
$custom-dark: #000000;
JSON
{
  "hex": "#cab043",
  "rgb": {
    "r": 202,
    "g": 176,
    "b": 67
  },
  "hsl": {
    "h": 48.444,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.75975,
    "c": 0.12968,
    "h": 95.6
  },
  "luminance": 0.44012
}

Semantic roles & 50–950 ramp

primary
#CAB043
secondary
#97A2D2
accent
#66DF48
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB043

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

Preview Lab → · Contrast checker → · Palette generator →

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