#ABB74F#ABB74F

#ABB74F is a light, vivid yellow. Relative luminance 0.431; OKLCH L 74.9% C 0.129 H 115.1°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#ABB74F
RGBrgb(171, 183, 79)
HSLhsl(67, 42%, 51%)
HSVhsv(67, 57%, 72%)
CMYKcmyk(6.6%, 0%, 56.8%, 28.2%)
CIE-LABlab(71.62, -18.80, 50.45)
CIE-LCHlch(71.62, 53.84, 110.43°)
OKLaboklab(74.88% -0.0548 0.1172)
OKLCHoklch(74.88% 0.129 115.1)
XYZxyz(35.1400, 43.0899, 13.8617)
Luminance0.4309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB74F #5B4FB7
analogous
#B78F4F #ABB74F #77B74F
triadic
#ABB74F #4FABB7 #B74FAB
tetradic
#ABB74F #4FB78F #5B4FB7 #B74F77
square
#ABB74F #4FB78F #5B4FB7 #B74F77
split-complementary
#ABB74F #4F77B7 #8F4FB7
monochromatic
#5C6329 #858F3A #ABB74F #C0C97A #D4DBA6

Accessibility & contrast

On white

2.18
#ABB74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#ABB74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB74F
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB74F#FFFFFF#000000##000000
##ABB74F1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF44
Deuteranopia (green-blind)
#C2B055
Tritanopia (blue-blind)
#B5ADA0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #abb74f;
/* rgb */ color: rgb(171, 183, 79);
/* oklch */ color: oklch(74.9% 0.129 115.1);
Tailwind
colors: {
  custom: {
    50: '#c6cc84',
    500: '#abb74f',
    950: '#000000',
  },
}
SCSS
$custom: #abb74f;
$custom-light: #c6cc84;
$custom-dark: #000000;
JSON
{
  "hex": "#abb74f",
  "rgb": {
    "r": 171,
    "g": 183,
    "b": 79
  },
  "hsl": {
    "h": 66.923,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.74881,
    "c": 0.12935,
    "h": 115.1
  },
  "luminance": 0.43089
}

Semantic roles & 50–950 ramp

primary
#ABB74F
secondary
#9F9AC8
accent
#56D264
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #ABB74F

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

Preview Lab → · Contrast checker → · Palette generator →

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