#CAB345#CAB345

#CAB345 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.6% C 0.130 H 97.4°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#CAB345
RGBrgb(202, 179, 69)
HSLhsl(50, 56%, 53%)
HSVhsv(50, 66%, 79%)
CMYKcmyk(0%, 11.4%, 65.8%, 20.8%)
CIE-LABlab(73.04, -4.32, 57.18)
CIE-LCHlch(73.04, 57.34, 94.32°)
OKLaboklab(76.62% -0.0167 0.1294)
OKLCHoklch(76.62% 0.13 97.4)
XYZxyz(41.5533, 45.2284, 12.1703)
Luminance0.4523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB345 #455CCA
analogous
#CA7045 #CAB345 #9ECA45
triadic
#CAB345 #45CAB3 #B345CA
tetradic
#CAB345 #45CA70 #455CCA #CA459E
square
#CAB345 #45CA70 #455CCA #CA459E
split-complementary
#CAB345 #459ECA #7045CA
monochromatic
#746521 #A38F2F #CAB345 #D8C675 #E5DAA4

Accessibility & contrast

On white

2.09
#CAB345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#CAB345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB345
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB345#FFFFFF#000000##000000
##CAB3451.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF37
Deuteranopia (green-blind)
#CAB74B
Tritanopia (blue-blind)
#D9A69C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab345;
/* rgb */ color: rgb(202, 179, 69);
/* oklch */ color: oklch(76.6% 0.130 97.4);
Tailwind
colors: {
  custom: {
    50: '#ddc97e',
    500: '#cab345',
    950: '#000000',
  },
}
SCSS
$custom: #cab345;
$custom-light: #ddc97e;
$custom-dark: #000000;
JSON
{
  "hex": "#cab345",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 69
  },
  "hsl": {
    "h": 49.624,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76616,
    "c": 0.13043,
    "h": 97.4
  },
  "luminance": 0.45226
}

Semantic roles & 50–950 ramp

primary
#CAB345
secondary
#99A3D2
accent
#63DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB345

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

Preview Lab → · Contrast checker → · Palette generator →

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