#ABB845#ABB845

#ABB845 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.0% C 0.139 H 115.3°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#ABB845
RGBrgb(171, 184, 69)
HSLhsl(67, 45%, 50%)
HSVhsv(67, 63%, 72%)
CMYKcmyk(7.1%, 0%, 62.5%, 27.8%)
CIE-LABlab(71.80, -20.05, 55.09)
CIE-LCHlch(71.80, 58.62, 110.00°)
OKLaboklab(75% -0.0594 0.1257)
OKLCHoklch(75% 0.139 115.3)
XYZxyz(35.0100, 43.3691, 12.1558)
Luminance0.4337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB845 #5245B8
analogous
#B88C45 #ABB845 #71B845
triadic
#ABB845 #45ABB8 #B845AB
tetradic
#ABB845 #45B88C #5245B8 #B84571
square
#ABB845 #45B88C #5245B8 #B84571
split-complementary
#ABB845 #4571B8 #8C45B8
monochromatic
#585F24 #828B34 #ABB845 #C0CA71 #D3DA9D

Accessibility & contrast

On white

2.17
#ABB845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#ABB845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB845
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB845#FFFFFF#000000##000000
##ABB8451.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF37
Deuteranopia (green-blind)
#C3B14D
Tritanopia (blue-blind)
#B5AEA0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #abb845;
/* rgb */ color: rgb(171, 184, 69);
/* oklch */ color: oklch(75.0% 0.139 115.3);
Tailwind
colors: {
  custom: {
    50: '#c7cd7e',
    500: '#abb845',
    950: '#000000',
  },
}
SCSS
$custom: #abb845;
$custom-light: #c7cd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#abb845",
  "rgb": {
    "r": 171,
    "g": 184,
    "b": 69
  },
  "hsl": {
    "h": 66.783,
    "s": 45.455,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75003,
    "c": 0.13906,
    "h": 115.3
  },
  "luminance": 0.43369
}

Semantic roles & 50–950 ramp

primary
#ABB845
secondary
#9892C7
accent
#53D561
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #ABB845

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

Preview Lab → · Contrast checker → · Palette generator →

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