#CAB843#CAB843

#CAB843 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.6% C 0.136 H 100.5°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#CAB843
RGBrgb(202, 184, 67)
HSLhsl(52, 56%, 53%)
HSVhsv(52, 67%, 79%)
CMYKcmyk(0%, 8.9%, 66.8%, 20.8%)
CIE-LABlab(74.35, -7.04, 59.38)
CIE-LCHlch(74.35, 59.80, 96.76°)
OKLaboklab(77.65% -0.0247 0.1337)
OKLCHoklch(77.65% 0.136 100.5)
XYZxyz(42.5126, 47.2447, 12.1889)
Luminance0.4724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB843 #4355CA
analogous
#CA7443 #CAB843 #98CA43
triadic
#CAB843 #43CAB8 #B843CA
tetradic
#CAB843 #43CA74 #4355CA #CA4398
square
#CAB843 #43CA74 #4355CA #CA4398
split-complementary
#CAB843 #4398CA #7443CA
monochromatic
#726720 #A2932E #CAB843 #D7CA73 #E5DCA2

Accessibility & contrast

On white

2.01
#CAB843 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#CAB843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB843
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB843#FFFFFF#000000##000000
##CAB8431.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B333
Deuteranopia (green-blind)
#CEBA4A
Tritanopia (blue-blind)
#D9ABA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cab843;
/* rgb */ color: rgb(202, 184, 67);
/* oklch */ color: oklch(77.6% 0.136 100.5);
Tailwind
colors: {
  custom: {
    50: '#ddcd7d',
    500: '#cab843',
    950: '#000000',
  },
}
SCSS
$custom: #cab843;
$custom-light: #ddcd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cab843",
  "rgb": {
    "r": 202,
    "g": 184,
    "b": 67
  },
  "hsl": {
    "h": 52,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77645,
    "c": 0.13595,
    "h": 100.5
  },
  "luminance": 0.47243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CAB843

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

Preview Lab → · Contrast checker → · Palette generator →

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