#CAB943#CAB943

#CAB943 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.9% C 0.137 H 101.0°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#CAB943
RGBrgb(202, 185, 67)
HSLhsl(52, 56%, 53%)
HSVhsv(52, 67%, 79%)
CMYKcmyk(0%, 8.4%, 66.8%, 20.8%)
CIE-LABlab(74.61, -7.56, 59.65)
CIE-LCHlch(74.61, 60.13, 97.22°)
OKLaboklab(77.85% -0.0262 0.1343)
OKLCHoklch(77.85% 0.137 101)
XYZxyz(42.7210, 47.6616, 12.2584)
Luminance0.4766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB943 #4354CA
analogous
#CA7543 #CAB943 #98CA43
triadic
#CAB943 #43CAB9 #B943CA
tetradic
#CAB943 #43CA75 #4354CA #CA4398
square
#CAB943 #43CA75 #4354CA #CA4398
split-complementary
#CAB943 #4398CA #7543CA
monochromatic
#726820 #A2932E #CAB943 #D7CB73 #E5DDA2

Accessibility & contrast

On white

1.99
#CAB943 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#CAB943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB943
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB943#FFFFFF#000000##000000
##CAB9431.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB433
Deuteranopia (green-blind)
#CFBB4A
Tritanopia (blue-blind)
#D9ACA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cab943;
/* rgb */ color: rgb(202, 185, 67);
/* oklch */ color: oklch(77.9% 0.137 101.0);
Tailwind
colors: {
  custom: {
    50: '#ddcd7d',
    500: '#cab943',
    950: '#000000',
  },
}
SCSS
$custom: #cab943;
$custom-light: #ddcd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cab943",
  "rgb": {
    "r": 202,
    "g": 185,
    "b": 67
  },
  "hsl": {
    "h": 52.444,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77855,
    "c": 0.1368,
    "h": 101
  },
  "luminance": 0.4766
}

Semantic roles & 50–950 ramp

primary
#CAB943
secondary
#979FD2
accent
#5BDF48
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB943

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

Preview Lab → · Contrast checker → · Palette generator →

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