#CAB143#CAB143

#CAB143 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.2% C 0.130 H 96.3°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#CAB143
RGBrgb(202, 177, 67)
HSLhsl(49, 56%, 53%)
HSVhsv(49, 67%, 79%)
CMYKcmyk(0%, 12.4%, 66.8%, 20.8%)
CIE-LABlab(72.50, -3.39, 57.46)
CIE-LCHlch(72.50, 57.56, 93.37°)
OKLaboklab(76.18% -0.0143 0.1296)
OKLCHoklch(76.18% 0.13 96.3)
XYZxyz(41.0943, 44.4081, 11.7162)
Luminance0.4441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB143 #435CCA
analogous
#CA6D43 #CAB143 #9FCA43
triadic
#CAB143 #43CAB1 #B143CA
tetradic
#CAB143 #43CA6D #435CCA #CA439F
square
#CAB143 #43CA6D #435CCA #CA439F
split-complementary
#CAB143 #439FCA #6D43CA
monochromatic
#726320 #A28D2E #CAB143 #D7C573 #E5D9A2

Accessibility & contrast

On white

2.13
#CAB143 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#CAB143 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB143
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB143#FFFFFF#000000##000000
##CAB1431.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD35
Deuteranopia (green-blind)
#C9B549
Tritanopia (blue-blind)
#DAA49A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab143;
/* rgb */ color: rgb(202, 177, 67);
/* oklch */ color: oklch(76.2% 0.130 96.3);
Tailwind
colors: {
  custom: {
    50: '#dec87d',
    500: '#cab143',
    950: '#000000',
  },
}
SCSS
$custom: #cab143;
$custom-light: #dec87d;
$custom-dark: #000000;
JSON
{
  "hex": "#cab143",
  "rgb": {
    "r": 202,
    "g": 177,
    "b": 67
  },
  "hsl": {
    "h": 48.889,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76182,
    "c": 0.13041,
    "h": 96.3
  },
  "luminance": 0.44406
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB143

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

Preview Lab → · Contrast checker → · Palette generator →

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