#CAB63F#CAB63F

#CAB63F is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.2% C 0.137 H 99.6°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#CAB63F
RGBrgb(202, 182, 63)
HSLhsl(51, 57%, 52%)
HSVhsv(51, 69%, 79%)
CMYKcmyk(0%, 9.9%, 68.8%, 20.8%)
CIE-LABlab(73.79, -6.22, 60.43)
CIE-LCHlch(73.79, 60.75, 95.88°)
OKLaboklab(77.19% -0.0228 0.1352)
OKLCHoklch(77.19% 0.137 99.6)
XYZxyz(41.9842, 46.3733, 11.4411)
Luminance0.4637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB63F #3F53CA
analogous
#CA713F #CAB63F #99CA3F
triadic
#CAB63F #3FCAB6 #B63FCA
tetradic
#CAB63F #3FCA71 #3F53CA #CA3F99
square
#CAB63F #3FCA71 #3F53CA #CA3F99
split-complementary
#CAB63F #3F99CA #713FCA
monochromatic
#70641F #A08F2C #CAB63F #D7C86F #E4DA9F

Accessibility & contrast

On white

2.04
#CAB63F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#CAB63F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB63F
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB63F#FFFFFF#000000##000000
##CAB63F1.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12E
Deuteranopia (green-blind)
#CDB946
Tritanopia (blue-blind)
#D9A99E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cab63f;
/* rgb */ color: rgb(202, 182, 63);
/* oklch */ color: oklch(77.2% 0.137 99.6);
Tailwind
colors: {
  custom: {
    50: '#decb7b',
    500: '#cab63f',
    950: '#000000',
  },
}
SCSS
$custom: #cab63f;
$custom-light: #decb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cab63f",
  "rgb": {
    "r": 202,
    "g": 182,
    "b": 63
  },
  "hsl": {
    "h": 51.367,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77192,
    "c": 0.13715,
    "h": 99.6
  },
  "luminance": 0.46371
}

Semantic roles & 50–950 ramp

primary
#CAB63F
secondary
#949DD1
accent
#5EE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB63F

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

Preview Lab → · Contrast checker → · Palette generator →

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