#AB9530#AB9530

#AB9530 is a light, vivid yellow. Relative luminance 0.304; OKLCH L 67.1% C 0.120 H 96.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#AB9530
RGBrgb(171, 149, 48)
HSLhsl(49, 56%, 43%)
HSVhsv(49, 72%, 67%)
CMYKcmyk(0%, 12.9%, 71.9%, 32.9%)
CIE-LABlab(61.97, -3.08, 53.64)
CIE-LCHlch(61.97, 53.72, 93.29°)
OKLaboklab(67.12% -0.0137 0.1193)
OKLCHoklch(67.12% 0.12 96.6)
XYZxyz(28.0769, 30.3677, 7.1784)
Luminance0.3037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9530 #3046AB
analogous
#AB5730 #AB9530 #83AB30
triadic
#AB9530 #30AB95 #9530AB
tetradic
#AB9530 #30AB57 #3046AB #AB3083
square
#AB9530 #30AB57 #3046AB #AB3083
split-complementary
#AB9530 #3083AB #5730AB
monochromatic
#4B4215 #7B6B23 #AB9530 #CDB64C #DAC97B

Accessibility & contrast

On white

2.97
#AB9530 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#AB9530 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9530
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9530#FFFFFF#000000##000000
##AB95301.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49221
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#B98A81
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab9530;
/* rgb */ color: rgb(171, 149, 48);
/* oklch */ color: oklch(67.1% 0.120 96.6);
Tailwind
colors: {
  custom: {
    50: '#c8b36f',
    500: '#ab9530',
    950: '#000000',
  },
}
SCSS
$custom: #ab9530;
$custom-light: #c8b36f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9530",
  "rgb": {
    "r": 171,
    "g": 149,
    "b": 48
  },
  "hsl": {
    "h": 49.268,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67115,
    "c": 0.12007,
    "h": 96.6
  },
  "luminance": 0.30366
}

Semantic roles & 50–950 ramp

primary
#AB9530
secondary
#7482C3
accent
#63DF48
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9530

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

Preview Lab → · Contrast checker → · Palette generator →

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