#AB9E40#AB9E40

#AB9E40 is a light, moderate yellow. Relative luminance 0.335; OKLCH L 69.2% C 0.115 H 101.5°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#AB9E40
RGBrgb(171, 158, 64)
HSLhsl(53, 46%, 46%)
HSVhsv(53, 63%, 67%)
CMYKcmyk(0%, 7.6%, 62.6%, 32.9%)
CIE-LABlab(64.55, -6.96, 49.45)
CIE-LCHlch(64.55, 49.94, 98.02°)
OKLaboklab(69.2% -0.0229 0.1131)
OKLCHoklch(69.2% 0.115 101.5)
XYZxyz(29.9480, 33.4830, 9.7349)
Luminance0.3348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB9E40 #404DAB
analogous
#AB6840 #AB9E40 #82AB40
triadic
#AB9E40 #40AB9E #9E40AB
tetradic
#AB9E40 #40AB68 #404DAB #AB4082
square
#AB9E40 #40AB68 #404DAB #AB4082
split-complementary
#AB9E40 #4082AB #6840AB
monochromatic
#524C1F #7E752F #AB9E40 #C5B963 #D5CD90

Accessibility & contrast

On white

2.73
#AB9E40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#AB9E40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB9E40
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB9E40#FFFFFF#000000##000000
##AB9E401.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9935
Deuteranopia (green-blind)
#B09F45
Tritanopia (blue-blind)
#B7938A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ab9e40;
/* rgb */ color: rgb(171, 158, 64);
/* oklch */ color: oklch(69.2% 0.115 101.5);
Tailwind
colors: {
  custom: {
    50: '#c7ba79',
    500: '#ab9e40',
    950: '#000000',
  },
}
SCSS
$custom: #ab9e40;
$custom-light: #c7ba79;
$custom-dark: #000000;
JSON
{
  "hex": "#ab9e40",
  "rgb": {
    "r": 171,
    "g": 158,
    "b": 64
  },
  "hsl": {
    "h": 52.71,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69201,
    "c": 0.11538,
    "h": 101.5
  },
  "luminance": 0.33482
}

Semantic roles & 50–950 ramp

primary
#AB9E40
secondary
#868DC1
accent
#62D553
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #AB9E40

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

Preview Lab → · Contrast checker → · Palette generator →

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