#A8B42E#A8B42E

#A8B42E is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.7% C 0.151 H 114.7°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#A8B42E
RGBrgb(168, 180, 46)
HSLhsl(65, 59%, 44%)
HSVhsv(65, 74%, 71%)
CMYKcmyk(6.7%, 0%, 74.4%, 29.4%)
CIE-LABlab(70.29, -20.65, 62.33)
CIE-LCHlch(70.29, 65.66, 108.33°)
OKLaboklab(73.68% -0.0631 0.1374)
OKLCHoklch(73.68% 0.151 114.7)
XYZxyz(32.9638, 41.1652, 8.7934)
Luminance0.4117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B42E #3A2EB4
analogous
#B47D2E #A8B42E #65B42E
triadic
#A8B42E #2EA8B4 #B42EA8
tetradic
#A8B42E #2EB47D #3A2EB4 #B42E65
square
#A8B42E #2EB47D #3A2EB4 #B42E65
split-complementary
#A8B42E #2E65B4 #7D2EB4
monochromatic
#4D5315 #7B8322 #A8B42E #C6D24E #D6DE7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B42E#FFFFFF#000000##000000
##A8B42E1.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)
#C1AB10
Deuteranopia (green-blind)
#C1AD39
Tritanopia (blue-blind)
#B3A99B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8b42e;
/* rgb */ color: rgb(168, 180, 46);
/* oklch */ color: oklch(73.7% 0.151 114.7);
Tailwind
colors: {
  custom: {
    50: '#c5ca71',
    500: '#a8b42e',
    950: '#000000',
  },
}
SCSS
$custom: #a8b42e;
$custom-light: #c5ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b42e",
  "rgb": {
    "r": 168,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 65.373,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73682,
    "c": 0.15122,
    "h": 114.7
  },
  "luminance": 0.41165
}

Semantic roles & 50–950 ramp

primary
#A8B42E
secondary
#7E77C7
accent
#45E253
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B42E

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

Preview Lab → · Contrast checker → · Palette generator →

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