#AB9F30#AB9F30

#AB9F30 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.3% C 0.128 H 103.0°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#AB9F30
RGBrgb(171, 159, 48)
HSLhsl(54, 56%, 43%)
HSVhsv(54, 72%, 67%)
CMYKcmyk(0%, 7%, 71.9%, 32.9%)
CIE-LABlab(64.70, -8.44, 56.33)
CIE-LCHlch(64.70, 56.96, 98.52°)
OKLaboklab(69.28% -0.0289 0.125)
OKLCHoklch(69.28% 0.128 103)
XYZxyz(29.7275, 33.6688, 7.7286)
Luminance0.3367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9F30 #303CAB
analogous
#AB6130 #AB9F30 #7AAB30
triadic
#AB9F30 #30AB9F #9F30AB
tetradic
#AB9F30 #30AB61 #303CAB #AB307A
square
#AB9F30 #30AB61 #303CAB #AB307A
split-complementary
#AB9F30 #307AAB #6130AB
monochromatic
#4B4615 #7B7323 #AB9F30 #CDC04C #DAD17B

Accessibility & contrast

On white

2.72
#AB9F30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#AB9F30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9F30
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9F30#FFFFFF#000000##000000
##AB9F301.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1E
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#B89489
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ab9f30;
/* rgb */ color: rgb(171, 159, 48);
/* oklch */ color: oklch(69.3% 0.128 103.0);
Tailwind
colors: {
  custom: {
    50: '#c7bb70',
    500: '#ab9f30',
    950: '#000000',
  },
}
SCSS
$custom: #ab9f30;
$custom-light: #c7bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9f30",
  "rgb": {
    "r": 171,
    "g": 159,
    "b": 48
  },
  "hsl": {
    "h": 54.146,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69279,
    "c": 0.12828,
    "h": 103
  },
  "luminance": 0.33668
}

Semantic roles & 50–950 ramp

primary
#AB9F30
secondary
#747CC3
accent
#57DF48
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9F30

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

Preview Lab → · Contrast checker → · Palette generator →

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