#ABB25F#ABB25F

#ABB25F is a light, moderate yellow. Relative luminance 0.413; OKLCH L 74.0% C 0.107 H 113.0°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#ABB25F
RGBrgb(171, 178, 95)
HSLhsl(65, 35%, 54%)
HSVhsv(65, 47%, 70%)
CMYKcmyk(3.9%, 0%, 46.6%, 30.2%)
CIE-LABlab(70.40, -14.79, 41.34)
CIE-LCHlch(70.40, 43.91, 109.69°)
OKLaboklab(73.97% -0.0419 0.0989)
OKLCHoklch(73.97% 0.107 113)
XYZxyz(34.7811, 41.3255, 16.9686)
Luminance0.4133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB25F #665FB2
analogous
#B28F5F #ABB25F #81B25F
triadic
#ABB25F #5FABB2 #B25FAB
tetradic
#ABB25F #5FB28F #665FB2 #B25F81
square
#ABB25F #5FB28F #665FB2 #B25F81
split-complementary
#ABB25F #5F81B2 #8F5FB2
monochromatic
#616631 #898F45 #ABB25F #C1C688 #D6DAB2

Accessibility & contrast

On white

2.27
#ABB25F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#ABB25F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB25F
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB25F#FFFFFF#000000##000000
##ABB25F1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAB58
Deuteranopia (green-blind)
#BDAD63
Tritanopia (blue-blind)
#B4A99F
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #abb25f;
/* rgb */ color: rgb(171, 178, 95);
/* oklch */ color: oklch(74.0% 0.107 113.0);
Tailwind
colors: {
  custom: {
    50: '#c5c88e',
    500: '#abb25f',
    950: '#000000',
  },
}
SCSS
$custom: #abb25f;
$custom-light: #c5c88e;
$custom-dark: #000000;
JSON
{
  "hex": "#abb25f",
  "rgb": {
    "r": 171,
    "g": 178,
    "b": 95
  },
  "hsl": {
    "h": 65.06,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.7397,
    "c": 0.10739,
    "h": 113
  },
  "luminance": 0.41325
}

Semantic roles & 50–950 ramp

primary
#ABB25F
secondary
#A8A5C8
accent
#5DCB66
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #ABB25F

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

Preview Lab → · Contrast checker → · Palette generator →

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