#CAB445#CAB445

#CAB445 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.8% C 0.131 H 98.0°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#CAB445
RGBrgb(202, 180, 69)
HSLhsl(50, 56%, 53%)
HSVhsv(50, 66%, 79%)
CMYKcmyk(0%, 10.9%, 65.8%, 20.8%)
CIE-LABlab(73.31, -4.84, 57.46)
CIE-LCHlch(73.31, 57.66, 94.82°)
OKLaboklab(76.83% -0.0182 0.13)
OKLCHoklch(76.83% 0.131 98)
XYZxyz(41.7544, 45.6307, 12.2373)
Luminance0.4563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB445 #455BCA
analogous
#CA7145 #CAB445 #9ECA45
triadic
#CAB445 #45CAB4 #B445CA
tetradic
#CAB445 #45CA71 #455BCA #CA459E
square
#CAB445 #45CA71 #455BCA #CA459E
split-complementary
#CAB445 #459ECA #7145CA
monochromatic
#746621 #A3902F #CAB445 #D8C775 #E5DAA4

Accessibility & contrast

On white

2.07
#CAB445 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#CAB445 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB445
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB445#FFFFFF#000000##000000
##CAB4451.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B037
Deuteranopia (green-blind)
#CBB74B
Tritanopia (blue-blind)
#D9A79D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab445;
/* rgb */ color: rgb(202, 180, 69);
/* oklch */ color: oklch(76.8% 0.131 98.0);
Tailwind
colors: {
  custom: {
    50: '#ddca7e',
    500: '#cab445',
    950: '#000000',
  },
}
SCSS
$custom: #cab445;
$custom-light: #ddca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cab445",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 69
  },
  "hsl": {
    "h": 50.075,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76825,
    "c": 0.13122,
    "h": 98
  },
  "luminance": 0.45629
}

Semantic roles & 50–950 ramp

primary
#CAB445
secondary
#99A2D2
accent
#62DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB445

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

Preview Lab → · Contrast checker → · Palette generator →

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