#CAB343#CAB343

#CAB343 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.6% C 0.132 H 97.5°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#CAB343
RGBrgb(202, 179, 67)
HSLhsl(50, 56%, 53%)
HSVhsv(50, 67%, 79%)
CMYKcmyk(0%, 11.4%, 66.8%, 20.8%)
CIE-LABlab(73.03, -4.44, 58.01)
CIE-LCHlch(73.03, 58.18, 94.37°)
OKLaboklab(76.6% -0.0173 0.1308)
OKLCHoklch(76.6% 0.132 97.5)
XYZxyz(41.4922, 45.2040, 11.8488)
Luminance0.4520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB343 #435ACA
analogous
#CA7043 #CAB343 #9DCA43
triadic
#CAB343 #43CAB3 #B343CA
tetradic
#CAB343 #43CA70 #435ACA #CA439D
square
#CAB343 #43CA70 #435ACA #CA439D
split-complementary
#CAB343 #439DCA #7043CA
monochromatic
#726420 #A28E2E #CAB343 #D7C673 #E5DAA2

Accessibility & contrast

On white

2.09
#CAB343 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#CAB343 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB343
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB343#FFFFFF#000000##000000
##CAB3431.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF35
Deuteranopia (green-blind)
#CAB749
Tritanopia (blue-blind)
#D9A69C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab343;
/* rgb */ color: rgb(202, 179, 67);
/* oklch */ color: oklch(76.6% 0.132 97.5);
Tailwind
colors: {
  custom: {
    50: '#dec97d',
    500: '#cab343',
    950: '#000000',
  },
}
SCSS
$custom: #cab343;
$custom-light: #dec97d;
$custom-dark: #000000;
JSON
{
  "hex": "#cab343",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 67
  },
  "hsl": {
    "h": 49.778,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76598,
    "c": 0.13192,
    "h": 97.5
  },
  "luminance": 0.45202
}

Semantic roles & 50–950 ramp

primary
#CAB343
secondary
#97A1D2
accent
#62DF48
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB343

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

Preview Lab → · Contrast checker → · Palette generator →

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