#CAB643#CAB643

#CAB643 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.2% C 0.134 H 99.3°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#CAB643
RGBrgb(202, 182, 67)
HSLhsl(51, 56%, 53%)
HSVhsv(51, 67%, 79%)
CMYKcmyk(0%, 9.9%, 66.8%, 20.8%)
CIE-LABlab(73.82, -6.00, 58.83)
CIE-LCHlch(73.82, 59.14, 95.83°)
OKLaboklab(77.22% -0.0217 0.1325)
OKLCHoklch(77.22% 0.134 99.3)
XYZxyz(42.1001, 46.4196, 12.0514)
Luminance0.4642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB643 #4357CA
analogous
#CA7243 #CAB643 #9BCA43
triadic
#CAB643 #43CAB6 #B643CA
tetradic
#CAB643 #43CA72 #4357CA #CA439B
square
#CAB643 #43CA72 #4357CA #CA439B
split-complementary
#CAB643 #439BCA #7243CA
monochromatic
#726620 #A2912E #CAB643 #D7C973 #E5DBA2

Accessibility & contrast

On white

2.04
#CAB643 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.28
#CAB643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB643
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB643#FFFFFF#000000##000000
##CAB6431.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B134
Deuteranopia (green-blind)
#CCB949
Tritanopia (blue-blind)
#D9A99E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab643;
/* rgb */ color: rgb(202, 182, 67);
/* oklch */ color: oklch(77.2% 0.134 99.3);
Tailwind
colors: {
  custom: {
    50: '#decb7d',
    500: '#cab643',
    950: '#000000',
  },
}
SCSS
$custom: #cab643;
$custom-light: #decb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cab643",
  "rgb": {
    "r": 202,
    "g": 182,
    "b": 67
  },
  "hsl": {
    "h": 51.111,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77225,
    "c": 0.1343,
    "h": 99.3
  },
  "luminance": 0.46418
}

Semantic roles & 50–950 ramp

primary
#CAB643
secondary
#97A0D2
accent
#5FDF48
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB643

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

Preview Lab → · Contrast checker → · Palette generator →

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