#AB9E30#AB9E30

#AB9E30 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 69.1% C 0.127 H 102.4°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#AB9E30
RGBrgb(171, 158, 48)
HSLhsl(54, 56%, 43%)
HSVhsv(54, 72%, 67%)
CMYKcmyk(0%, 7.6%, 71.9%, 32.9%)
CIE-LABlab(64.42, -7.91, 56.06)
CIE-LCHlch(64.42, 56.61, 98.03°)
OKLaboklab(69.06% -0.0274 0.1244)
OKLCHoklch(69.06% 0.127 102.4)
XYZxyz(29.5562, 33.3263, 7.6715)
Luminance0.3332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9E30 #303DAB
analogous
#AB6130 #AB9E30 #7AAB30
triadic
#AB9E30 #30AB9E #9E30AB
tetradic
#AB9E30 #30AB61 #303DAB #AB307A
square
#AB9E30 #30AB61 #303DAB #AB307A
split-complementary
#AB9E30 #307AAB #6130AB
monochromatic
#4B4615 #7B7223 #AB9E30 #CDBF4C #DAD07B

Accessibility & contrast

On white

2.74
#AB9E30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#AB9E30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9E30
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9E30#FFFFFF#000000##000000
##AB9E301.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991E
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#B89388
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ab9e30;
/* rgb */ color: rgb(171, 158, 48);
/* oklch */ color: oklch(69.1% 0.127 102.4);
Tailwind
colors: {
  custom: {
    50: '#c7ba70',
    500: '#ab9e30',
    950: '#000000',
  },
}
SCSS
$custom: #ab9e30;
$custom-light: #c7ba70;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9e30",
  "rgb": {
    "r": 171,
    "g": 158,
    "b": 48
  },
  "hsl": {
    "h": 53.659,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69061,
    "c": 0.1274,
    "h": 102.4
  },
  "luminance": 0.33325
}

Semantic roles & 50–950 ramp

primary
#AB9E30
secondary
#747DC3
accent
#58DF48
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9E30

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

Preview Lab → · Contrast checker → · Palette generator →

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