#CAB145#CAB145

#CAB145 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.2% C 0.129 H 96.1°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#CAB145
RGBrgb(202, 177, 69)
HSLhsl(49, 56%, 53%)
HSVhsv(49, 66%, 79%)
CMYKcmyk(0%, 12.4%, 65.8%, 20.8%)
CIE-LABlab(72.52, -3.27, 56.63)
CIE-LCHlch(72.52, 56.72, 93.30°)
OKLaboklab(76.2% -0.0137 0.1282)
OKLCHoklch(76.2% 0.129 96.1)
XYZxyz(41.1553, 44.4326, 12.0376)
Luminance0.4443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB145 #455ECA
analogous
#CA6E45 #CAB145 #A0CA45
triadic
#CAB145 #45CAB1 #B145CA
tetradic
#CAB145 #45CA6E #455ECA #CA45A0
square
#CAB145 #45CA6E #455ECA #CA45A0
split-complementary
#CAB145 #45A0CA #6E45CA
monochromatic
#746421 #A38D2F #CAB145 #D8C575 #E5D9A4

Accessibility & contrast

On white

2.12
#CAB145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#CAB145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB145
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB145#FFFFFF#000000##000000
##CAB1451.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD38
Deuteranopia (green-blind)
#C9B54B
Tritanopia (blue-blind)
#D9A49A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab145;
/* rgb */ color: rgb(202, 177, 69);
/* oklch */ color: oklch(76.2% 0.129 96.1);
Tailwind
colors: {
  custom: {
    50: '#ddc87e',
    500: '#cab145',
    950: '#000000',
  },
}
SCSS
$custom: #cab145;
$custom-light: #ddc87e;
$custom-dark: #000000;
JSON
{
  "hex": "#cab145",
  "rgb": {
    "r": 202,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 48.722,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.762,
    "c": 0.12892,
    "h": 96.1
  },
  "luminance": 0.44431
}

Semantic roles & 50–950 ramp

primary
#CAB145
secondary
#99A4D2
accent
#65DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB145

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

Preview Lab → · Contrast checker → · Palette generator →

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