#CAB33F#CAB33F

#CAB33F is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.6% C 0.135 H 97.8°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#CAB33F
RGBrgb(202, 179, 63)
HSLhsl(50, 57%, 52%)
HSVhsv(50, 69%, 79%)
CMYKcmyk(0%, 11.4%, 68.8%, 20.8%)
CIE-LABlab(73.00, -4.66, 59.62)
CIE-LCHlch(73.00, 59.81, 94.47°)
OKLaboklab(76.57% -0.0184 0.1335)
OKLCHoklch(76.57% 0.135 97.8)
XYZxyz(41.3764, 45.1577, 11.2385)
Luminance0.4516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB33F #3F56CA
analogous
#CA6E3F #CAB33F #9CCA3F
triadic
#CAB33F #3FCAB3 #B33FCA
tetradic
#CAB33F #3FCA6E #3F56CA #CA3F9C
square
#CAB33F #3FCA6E #3F56CA #CA3F9C
split-complementary
#CAB33F #3F9CCA #6E3FCA
monochromatic
#70621F #A08D2C #CAB33F #D7C66F #E4D99F

Accessibility & contrast

On white

2.09
#CAB33F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#CAB33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB33F
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB33F#FFFFFF#000000##000000
##CAB33F1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF2F
Deuteranopia (green-blind)
#CAB746
Tritanopia (blue-blind)
#DAA69B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cab33f;
/* rgb */ color: rgb(202, 179, 63);
/* oklch */ color: oklch(76.6% 0.135 97.8);
Tailwind
colors: {
  custom: {
    50: '#dec97a',
    500: '#cab33f',
    950: '#000000',
  },
}
SCSS
$custom: #cab33f;
$custom-light: #dec97a;
$custom-dark: #000000;
JSON
{
  "hex": "#cab33f",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 63
  },
  "hsl": {
    "h": 50.072,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.76565,
    "c": 0.13479,
    "h": 97.8
  },
  "luminance": 0.45156
}

Semantic roles & 50–950 ramp

primary
#CAB33F
secondary
#949ED1
accent
#61E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CAB33F

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

Preview Lab → · Contrast checker → · Palette generator →

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