#AB9730#AB9730

#AB9730 is a light, vivid yellow. Relative luminance 0.310; OKLCH L 67.5% C 0.122 H 97.9°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#AB9730
RGBrgb(171, 151, 48)
HSLhsl(50, 56%, 43%)
HSVhsv(50, 72%, 67%)
CMYKcmyk(0%, 11.7%, 71.9%, 32.9%)
CIE-LABlab(62.51, -4.16, 54.17)
CIE-LCHlch(62.51, 54.33, 94.39°)
OKLaboklab(67.54% -0.0168 0.1204)
OKLCHoklch(67.54% 0.122 97.9)
XYZxyz(28.3961, 31.0060, 7.2848)
Luminance0.3100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9730 #3044AB
analogous
#AB5930 #AB9730 #81AB30
triadic
#AB9730 #30AB97 #9730AB
tetradic
#AB9730 #30AB59 #3044AB #AB3081
square
#AB9730 #30AB59 #3044AB #AB3081
split-complementary
#AB9730 #3081AB #5930AB
monochromatic
#4B4315 #7B6D23 #AB9730 #CDB84C #DACB7B

Accessibility & contrast

On white

2.92
#AB9730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#AB9730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9730
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9730#FFFFFF#000000##000000
##AB97301.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69320
Deuteranopia (green-blind)
#AB9A36
Tritanopia (blue-blind)
#B98C82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ab9730;
/* rgb */ color: rgb(171, 151, 48);
/* oklch */ color: oklch(67.5% 0.122 97.9);
Tailwind
colors: {
  custom: {
    50: '#c8b56f',
    500: '#ab9730',
    950: '#000000',
  },
}
SCSS
$custom: #ab9730;
$custom-light: #c8b56f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9730",
  "rgb": {
    "r": 171,
    "g": 151,
    "b": 48
  },
  "hsl": {
    "h": 50.244,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.67544,
    "c": 0.12159,
    "h": 97.9
  },
  "luminance": 0.31005
}

Semantic roles & 50–950 ramp

primary
#AB9730
secondary
#7481C3
accent
#61DF48
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9730

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

Preview Lab → · Contrast checker → · Palette generator →

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