#CAB92F#CAB92F

#CAB92F is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.7% C 0.149 H 101.9°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#CAB92F
RGBrgb(202, 185, 47)
HSLhsl(53, 62%, 49%)
HSVhsv(53, 77%, 79%)
CMYKcmyk(0%, 8.4%, 76.7%, 20.8%)
CIE-LABlab(74.48, -8.51, 66.91)
CIE-LCHlch(74.48, 67.45, 97.25°)
OKLaboklab(77.71% -0.0309 0.146)
OKLCHoklch(77.71% 0.149 101.9)
XYZxyz(42.2212, 47.4616, 9.6258)
Luminance0.4746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB92F #2F40CA
analogous
#CA6C2F #CAB92F #8ECA2F
triadic
#CAB92F #2FCAB9 #B92FCA
tetradic
#CAB92F #2FCA6C #2F40CA #CA2F8E
square
#CAB92F #2FCA6C #2F40CA #CA2F8E
split-complementary
#CAB92F #2F8ECA #6C2FCA
monochromatic
#675E18 #988C23 #CAB92F #D9CC5D #E5DB8F

Accessibility & contrast

On white

2.00
#CAB92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#CAB92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB92F
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB92F#FFFFFF#000000##000000
##CAB92F1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB30E
Deuteranopia (green-blind)
#D0BA39
Tritanopia (blue-blind)
#DAAB9F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cab92f;
/* rgb */ color: rgb(202, 185, 47);
/* oklch */ color: oklch(77.7% 0.149 101.9);
Tailwind
colors: {
  custom: {
    50: '#decd73',
    500: '#cab92f',
    950: '#000000',
  },
}
SCSS
$custom: #cab92f;
$custom-light: #decd73;
$custom-dark: #000000;
JSON
{
  "hex": "#cab92f",
  "rgb": {
    "r": 202,
    "g": 185,
    "b": 47
  },
  "hsl": {
    "h": 53.419,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.77714,
    "c": 0.14927,
    "h": 101.9
  },
  "luminance": 0.4746
}

Semantic roles & 50–950 ramp

primary
#CAB92F
secondary
#868ECF
accent
#54E542
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CAB92F

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

Preview Lab → · Contrast checker → · Palette generator →

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