#AB9A30#AB9A30

#AB9A30 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 68.2% C 0.124 H 99.9°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#AB9A30
RGBrgb(171, 154, 48)
HSLhsl(52, 56%, 43%)
HSVhsv(52, 72%, 67%)
CMYKcmyk(0%, 9.9%, 71.9%, 32.9%)
CIE-LABlab(63.33, -5.78, 54.98)
CIE-LCHlch(63.33, 55.28, 96.00°)
OKLaboklab(68.19% -0.0214 0.1221)
OKLCHoklch(68.19% 0.124 99.9)
XYZxyz(28.8850, 31.9839, 7.4478)
Luminance0.3198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9A30 #3041AB
analogous
#AB5C30 #AB9A30 #7FAB30
triadic
#AB9A30 #30AB9A #9A30AB
tetradic
#AB9A30 #30AB5C #3041AB #AB307F
square
#AB9A30 #30AB5C #3041AB #AB307F
split-complementary
#AB9A30 #307FAB #5C30AB
monochromatic
#4B4415 #7B6F23 #AB9A30 #CDBB4C #DACD7B

Accessibility & contrast

On white

2.84
#AB9A30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#AB9A30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9A30
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9A30#FFFFFF#000000##000000
##AB9A301.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961F
Deuteranopia (green-blind)
#AE9C37
Tritanopia (blue-blind)
#B88F85
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ab9a30;
/* rgb */ color: rgb(171, 154, 48);
/* oklch */ color: oklch(68.2% 0.124 99.9);
Tailwind
colors: {
  custom: {
    50: '#c7b76f',
    500: '#ab9a30',
    950: '#000000',
  },
}
SCSS
$custom: #ab9a30;
$custom-light: #c7b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9a30",
  "rgb": {
    "r": 171,
    "g": 154,
    "b": 48
  },
  "hsl": {
    "h": 51.707,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68192,
    "c": 0.12399,
    "h": 99.9
  },
  "luminance": 0.31983
}

Semantic roles & 50–950 ramp

primary
#AB9A30
secondary
#747FC3
accent
#5DDF48
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9A30

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

Preview Lab → · Contrast checker → · Palette generator →

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