#ABAD2F#ABAD2F

#ABAD2F is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.4% C 0.142 H 110.4°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#ABAD2F
RGBrgb(171, 173, 47)
HSLhsl(61, 57%, 43%)
HSVhsv(61, 73%, 68%)
CMYKcmyk(1.2%, 0%, 72.8%, 32.2%)
CIE-LABlab(68.57, -15.78, 60.44)
CIE-LCHlch(68.57, 62.46, 104.63°)
OKLaboklab(72.36% -0.0496 0.1335)
OKLCHoklch(72.36% 0.142 110.4)
XYZxyz(32.2524, 38.7512, 8.4695)
Luminance0.3875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAD2F #312FAD
analogous
#AD702F #ABAD2F #6CAD2F
triadic
#ABAD2F #2FABAD #AD2FAB
tetradic
#ABAD2F #2FAD70 #312FAD #AD2F6C
square
#ABAD2F #2FAD70 #312FAD #AD2F6C
split-complementary
#ABAD2F #2F6CAD #702FAD
monochromatic
#4C4D15 #7B7D22 #ABAD2F #CCCE4B #DADB7B

Accessibility & contrast

On white

2.40
#ABAD2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#ABAD2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAD2F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAD2F#FFFFFF#000000##000000
##ABAD2F1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA516
Deuteranopia (green-blind)
#BCA939
Tritanopia (blue-blind)
#B7A295
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #abad2f;
/* rgb */ color: rgb(171, 173, 47);
/* oklch */ color: oklch(72.4% 0.142 110.4);
Tailwind
colors: {
  custom: {
    50: '#c7c571',
    500: '#abad2f',
    950: '#000000',
  },
}
SCSS
$custom: #abad2f;
$custom-light: #c7c571;
$custom-dark: #000000;
JSON
{
  "hex": "#abad2f",
  "rgb": {
    "r": 171,
    "g": 173,
    "b": 47
  },
  "hsl": {
    "h": 60.952,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72364,
    "c": 0.14241,
    "h": 110.4
  },
  "luminance": 0.3875
}

Semantic roles & 50–950 ramp

primary
#ABAD2F
secondary
#7574C4
accent
#47E14A
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141208
muted
#82817B

Preview Lab

Preview with #ABAD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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