#CAB543#CAB543

#CAB543 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 77.0% C 0.133 H 98.7°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#CAB543
RGBrgb(202, 181, 67)
HSLhsl(51, 56%, 53%)
HSVhsv(51, 67%, 79%)
CMYKcmyk(0%, 10.4%, 66.8%, 20.8%)
CIE-LABlab(73.55, -5.48, 58.56)
CIE-LCHlch(73.55, 58.81, 95.35°)
OKLaboklab(77.02% -0.0202 0.132)
OKLCHoklch(77.02% 0.133 98.7)
XYZxyz(41.8960, 46.0115, 11.9834)
Luminance0.4601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB543 #4358CA
analogous
#CA7243 #CAB543 #9BCA43
triadic
#CAB543 #43CAB5 #B543CA
tetradic
#CAB543 #43CA72 #4358CA #CA439B
square
#CAB543 #43CA72 #4358CA #CA439B
split-complementary
#CAB543 #439BCA #7243CA
monochromatic
#726620 #A2902E #CAB543 #D7C873 #E5DBA2

Accessibility & contrast

On white

2.06
#CAB543 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#CAB543 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB543
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB543#FFFFFF#000000##000000
##CAB5431.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B034
Deuteranopia (green-blind)
#CCB849
Tritanopia (blue-blind)
#D9A89D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab543;
/* rgb */ color: rgb(202, 181, 67);
/* oklch */ color: oklch(77.0% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#deca7d',
    500: '#cab543',
    950: '#000000',
  },
}
SCSS
$custom: #cab543;
$custom-light: #deca7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cab543",
  "rgb": {
    "r": 202,
    "g": 181,
    "b": 67
  },
  "hsl": {
    "h": 50.667,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77016,
    "c": 0.13349,
    "h": 98.7
  },
  "luminance": 0.4601
}

Semantic roles & 50–950 ramp

primary
#CAB543
secondary
#97A0D2
accent
#60DF48
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB543

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

Preview Lab → · Contrast checker → · Palette generator →

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