#CAB23E#CAB23E

#CAB23E is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.3% C 0.135 H 97.3°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#CAB23E
RGBrgb(202, 178, 62)
HSLhsl(50, 57%, 52%)
HSVhsv(50, 69%, 79%)
CMYKcmyk(0%, 11.9%, 69.3%, 20.8%)
CIE-LABlab(72.73, -4.19, 59.75)
CIE-LCHlch(72.73, 59.90, 94.01°)
OKLaboklab(76.35% -0.0171 0.1336)
OKLCHoklch(76.35% 0.135 97.3)
XYZxyz(41.1490, 44.7472, 11.0261)
Luminance0.4475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB23E #3E56CA
analogous
#CA6C3E #CAB23E #9CCA3E
triadic
#CAB23E #3ECAB2 #B23ECA
tetradic
#CAB23E #3ECA6C #3E56CA #CA3E9C
square
#CAB23E #3ECA6C #3E56CA #CA3E9C
split-complementary
#CAB23E #3E9CCA #6C3ECA
monochromatic
#6F611F #9F8B2C #CAB23E #D7C56E #E4D89E

Accessibility & contrast

On white

2.11
#CAB23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#CAB23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB23E
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB23E#FFFFFF#000000##000000
##CAB23E1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE2E
Deuteranopia (green-blind)
#CAB645
Tritanopia (blue-blind)
#DAA59A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cab23e;
/* rgb */ color: rgb(202, 178, 62);
/* oklch */ color: oklch(76.3% 0.135 97.3);
Tailwind
colors: {
  custom: {
    50: '#dec87a',
    500: '#cab23e',
    950: '#000000',
  },
}
SCSS
$custom: #cab23e;
$custom-light: #dec87a;
$custom-dark: #000000;
JSON
{
  "hex": "#cab23e",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 62
  },
  "hsl": {
    "h": 49.714,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76348,
    "c": 0.13472,
    "h": 97.3
  },
  "luminance": 0.44745
}

Semantic roles & 50–950 ramp

primary
#CAB23E
secondary
#939ED1
accent
#62E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB23E

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

Preview Lab → · Contrast checker → · Palette generator →

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