#ABAF74#ABAF74

#ABAF74 is a light, moderate yellow. Relative luminance 0.406; OKLCH L 73.7% C 0.079 H 111.5°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#ABAF74
RGBrgb(171, 175, 116)
HSLhsl(64, 27%, 57%)
HSVhsv(64, 34%, 69%)
CMYKcmyk(2.3%, 0%, 33.7%, 31.4%)
CIE-LABlab(69.88, -10.85, 29.84)
CIE-LCHlch(69.88, 31.75, 109.98°)
OKLaboklab(73.65% -0.0291 0.0739)
OKLCHoklch(73.65% 0.079 111.5)
XYZxyz(35.2771, 40.5793, 22.4938)
Luminance0.4058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABAF74 #7874AF
analogous
#AF9674 #ABAF74 #8EAF74
triadic
#ABAF74 #74ABAF #AF74AB
tetradic
#ABAF74 #74AF96 #7874AF #AF748E
square
#ABAF74 #74AF96 #7874AF #AF748E
split-complementary
#ABAF74 #748EAF #9674AF
monochromatic
#686B3E #8E9254 #ABAF74 #C2C59B #DADCC2

Accessibility & contrast

On white

2.30
#ABAF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#ABAF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABAF74
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABAF74#FFFFFF#000000##000000
##ABAF741.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AA70
Deuteranopia (green-blind)
#B8AC76
Tritanopia (blue-blind)
#B2A8A0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #abaf74;
/* rgb */ color: rgb(171, 175, 116);
/* oklch */ color: oklch(73.7% 0.079 111.5);
Tailwind
colors: {
  custom: {
    50: '#c5c69c',
    500: '#abaf74',
    950: '#000000',
  },
}
SCSS
$custom: #abaf74;
$custom-light: #c5c69c;
$custom-dark: #000000;
JSON
{
  "hex": "#abaf74",
  "rgb": {
    "r": 171,
    "g": 175,
    "b": 116
  },
  "hsl": {
    "h": 64.068,
    "s": 26.941,
    "l": 57.059
  },
  "oklch": {
    "l": 0.73652,
    "c": 0.07937,
    "h": 111.5
  },
  "luminance": 0.40579
}

Semantic roles & 50–950 ramp

primary
#ABAF74
secondary
#B5B3CB
accent
#65C36B
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #ABAF74

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

Preview Lab → · Contrast checker → · Palette generator →

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