#CAB448#CAB448

#CAB448 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.9% C 0.129 H 97.7°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#CAB448
RGBrgb(202, 180, 72)
HSLhsl(50, 55%, 54%)
HSVhsv(50, 64%, 79%)
CMYKcmyk(0%, 10.9%, 64.4%, 20.8%)
CIE-LABlab(73.33, -4.66, 56.20)
CIE-LCHlch(73.33, 56.39, 94.74°)
OKLaboklab(76.85% -0.0173 0.1277)
OKLCHoklch(76.85% 0.129 97.7)
XYZxyz(41.8499, 45.6689, 12.7402)
Luminance0.4567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB448 #485ECA
analogous
#CA7348 #CAB448 #9FCA48
triadic
#CAB448 #48CAB4 #B448CA
tetradic
#CAB448 #48CA73 #485ECA #CA489F
square
#CAB448 #48CA73 #485ECA #CA489F
split-complementary
#CAB448 #489FCA #7348CA
monochromatic
#766722 #A59130 #CAB448 #D8C777 #E5DBA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CAB448#FFFFFF#000000##000000
##CAB4481.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)
#C5B03B
Deuteranopia (green-blind)
#CBB74E
Tritanopia (blue-blind)
#D9A79D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cab448;
/* rgb */ color: rgb(202, 180, 72);
/* oklch */ color: oklch(76.9% 0.129 97.7);
Tailwind
colors: {
  custom: {
    50: '#ddca80',
    500: '#cab448',
    950: '#000000',
  },
}
SCSS
$custom: #cab448;
$custom-light: #ddca80;
$custom-dark: #000000;
JSON
{
  "hex": "#cab448",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 72
  },
  "hsl": {
    "h": 49.846,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76852,
    "c": 0.12891,
    "h": 97.7
  },
  "luminance": 0.45667
}

Semantic roles & 50–950 ramp

primary
#CAB448
secondary
#9BA5D3
accent
#63DE49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB448

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

Preview Lab → · Contrast checker → · Palette generator →

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