#AB9C30#AB9C30

#AB9C30 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.6% C 0.126 H 101.2°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#AB9C30
RGBrgb(171, 156, 48)
HSLhsl(53, 56%, 43%)
HSVhsv(53, 72%, 67%)
CMYKcmyk(0%, 8.8%, 71.9%, 32.9%)
CIE-LABlab(63.88, -6.85, 55.52)
CIE-LCHlch(63.88, 55.94, 97.03°)
OKLaboklab(68.63% -0.0244 0.1233)
OKLCHoklch(68.63% 0.126 101.2)
XYZxyz(29.2179, 32.6496, 7.5587)
Luminance0.3265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9C30 #303FAB
analogous
#AB5E30 #AB9C30 #7CAB30
triadic
#AB9C30 #30AB9C #9C30AB
tetradic
#AB9C30 #30AB5E #303FAB #AB307C
square
#AB9C30 #30AB5E #303FAB #AB307C
split-complementary
#AB9C30 #307CAB #5E30AB
monochromatic
#4B4515 #7B7023 #AB9C30 #CDBD4C #DACE7B

Accessibility & contrast

On white

2.79
#AB9C30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#AB9C30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9C30
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9C30#FFFFFF#000000##000000
##AB9C301.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB971F
Deuteranopia (green-blind)
#AF9D37
Tritanopia (blue-blind)
#B89187
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab9c30;
/* rgb */ color: rgb(171, 156, 48);
/* oklch */ color: oklch(68.6% 0.126 101.2);
Tailwind
colors: {
  custom: {
    50: '#c7b86f',
    500: '#ab9c30',
    950: '#000000',
  },
}
SCSS
$custom: #ab9c30;
$custom-light: #c7b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9c30",
  "rgb": {
    "r": 171,
    "g": 156,
    "b": 48
  },
  "hsl": {
    "h": 52.683,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68626,
    "c": 0.12567,
    "h": 101.2
  },
  "luminance": 0.32648
}

Semantic roles & 50–950 ramp

primary
#AB9C30
secondary
#747EC3
accent
#5BDF48
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AB9C30

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

Preview Lab → · Contrast checker → · Palette generator →

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