#AB9D30#AB9D30

#AB9D30 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.8% C 0.127 H 101.8°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#AB9D30
RGBrgb(171, 157, 48)
HSLhsl(53, 56%, 43%)
HSVhsv(53, 72%, 67%)
CMYKcmyk(0%, 8.2%, 71.9%, 32.9%)
CIE-LABlab(64.15, -7.38, 55.79)
CIE-LCHlch(64.15, 56.27, 97.53°)
OKLaboklab(68.84% -0.0259 0.1238)
OKLCHoklch(68.84% 0.127 101.8)
XYZxyz(29.3864, 32.9866, 7.6149)
Luminance0.3298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9D30 #303EAB
analogous
#AB6030 #AB9D30 #7BAB30
triadic
#AB9D30 #30AB9D #9D30AB
tetradic
#AB9D30 #30AB60 #303EAB #AB307B
square
#AB9D30 #30AB60 #303EAB #AB307B
split-complementary
#AB9D30 #307BAB #6030AB
monochromatic
#4B4515 #7B7123 #AB9D30 #CDBE4C #DACF7B

Accessibility & contrast

On white

2.76
#AB9D30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#AB9D30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9D30
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9D30#FFFFFF#000000##000000
##AB9D301.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981E
Deuteranopia (green-blind)
#B09E37
Tritanopia (blue-blind)
#B89287
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab9d30;
/* rgb */ color: rgb(171, 157, 48);
/* oklch */ color: oklch(68.8% 0.127 101.8);
Tailwind
colors: {
  custom: {
    50: '#c7b970',
    500: '#ab9d30',
    950: '#000000',
  },
}
SCSS
$custom: #ab9d30;
$custom-light: #c7b970;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9d30",
  "rgb": {
    "r": 171,
    "g": 157,
    "b": 48
  },
  "hsl": {
    "h": 53.171,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68843,
    "c": 0.12653,
    "h": 101.8
  },
  "luminance": 0.32985
}

Semantic roles & 50–950 ramp

primary
#AB9D30
secondary
#747DC3
accent
#5ADF48
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9D30

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

Preview Lab → · Contrast checker → · Palette generator →

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