#AB9930#AB9930

#AB9930 is a light, vivid yellow. Relative luminance 0.317; OKLCH L 68.0% C 0.123 H 99.3°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#AB9930
RGBrgb(171, 153, 48)
HSLhsl(51, 56%, 43%)
HSVhsv(51, 72%, 67%)
CMYKcmyk(0%, 10.5%, 71.9%, 32.9%)
CIE-LABlab(63.06, -5.24, 54.71)
CIE-LCHlch(63.06, 54.96, 95.47°)
OKLaboklab(67.98% -0.0199 0.1216)
OKLCHoklch(67.98% 0.123 99.3)
XYZxyz(28.7207, 31.6552, 7.3930)
Luminance0.3165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9930 #3042AB
analogous
#AB5C30 #AB9930 #7FAB30
triadic
#AB9930 #30AB99 #9930AB
tetradic
#AB9930 #30AB5C #3042AB #AB307F
square
#AB9930 #30AB5C #3042AB #AB307F
split-complementary
#AB9930 #307FAB #5C30AB
monochromatic
#4B4315 #7B6E23 #AB9930 #CDBA4C #DACC7B

Accessibility & contrast

On white

2.86
#AB9930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#AB9930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9930
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9930#FFFFFF#000000##000000
##AB99301.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89520
Deuteranopia (green-blind)
#AD9B36
Tritanopia (blue-blind)
#B88E84
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab9930;
/* rgb */ color: rgb(171, 153, 48);
/* oklch */ color: oklch(68.0% 0.123 99.3);
Tailwind
colors: {
  custom: {
    50: '#c8b66f',
    500: '#ab9930',
    950: '#000000',
  },
}
SCSS
$custom: #ab9930;
$custom-light: #c8b66f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9930",
  "rgb": {
    "r": 171,
    "g": 153,
    "b": 48
  },
  "hsl": {
    "h": 51.22,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67976,
    "c": 0.12317,
    "h": 99.3
  },
  "luminance": 0.31654
}

Semantic roles & 50–950 ramp

primary
#AB9930
secondary
#7480C3
accent
#5EDF48
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9930

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

Preview Lab → · Contrast checker → · Palette generator →

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