#ABB256#ABB256

#ABB256 is a light, moderate yellow. Relative luminance 0.412; OKLCH L 73.8% C 0.117 H 112.8°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#ABB256
RGBrgb(171, 178, 86)
HSLhsl(65, 37%, 52%)
HSVhsv(65, 52%, 70%)
CMYKcmyk(3.9%, 0%, 51.7%, 30.2%)
CIE-LABlab(70.30, -15.66, 45.64)
CIE-LCHlch(70.30, 48.25, 108.94°)
OKLaboklab(73.85% -0.0452 0.1075)
OKLCHoklch(73.85% 0.117 112.8)
XYZxyz(34.3953, 41.1712, 14.9372)
Luminance0.4117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB256 #5D56B2
analogous
#B28B56 #ABB256 #7DB256
triadic
#ABB256 #56ABB2 #B256AB
tetradic
#ABB256 #56B28B #5D56B2 #B2567D
square
#ABB256 #56B28B #5D56B2 #B2567D
split-complementary
#ABB256 #567DB2 #8B56B2
monochromatic
#5D612C #868B3F #ABB256 #C0C580 #D5D8AA

Accessibility & contrast

On white

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

On black

9.23
#ABB256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB256
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB256#FFFFFF#000000##000000
##ABB2561.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAB4D
Deuteranopia (green-blind)
#BDAD5B
Tritanopia (blue-blind)
#B5A99D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #abb256;
/* rgb */ color: rgb(171, 178, 86);
/* oklch */ color: oklch(73.8% 0.117 112.8);
Tailwind
colors: {
  custom: {
    50: '#c6c888',
    500: '#abb256',
    950: '#000000',
  },
}
SCSS
$custom: #abb256;
$custom-light: #c6c888;
$custom-dark: #000000;
JSON
{
  "hex": "#abb256",
  "rgb": {
    "r": 171,
    "g": 178,
    "b": 86
  },
  "hsl": {
    "h": 64.565,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73849,
    "c": 0.11664,
    "h": 112.8
  },
  "luminance": 0.41171
}

Semantic roles & 50–950 ramp

primary
#ABB256
secondary
#A19EC6
accent
#5ACD63
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #ABB256

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

Preview Lab → · Contrast checker → · Palette generator →

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