#A8B42C#A8B42C

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

Color values

HEX#A8B42C
RGBrgb(168, 180, 44)
HSLhsl(65, 61%, 44%)
HSVhsv(65, 76%, 71%)
CMYKcmyk(6.7%, 0%, 75.6%, 29.4%)
CIE-LABlab(70.28, -20.74, 62.98)
CIE-LCHlch(70.28, 66.31, 108.23°)
OKLaboklab(73.67% -0.0635 0.1384)
OKLCHoklch(73.67% 0.152 114.7)
XYZxyz(32.9253, 41.1498, 8.5906)
Luminance0.4115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B42C #382CB4
analogous
#B47C2C #A8B42C #64B42C
triadic
#A8B42C #2CA8B4 #B42CA8
tetradic
#A8B42C #2CB47C #382CB4 #B42C64
square
#A8B42C #2CB47C #382CB4 #B42C64
split-complementary
#A8B42C #2C64B4 #7C2CB4
monochromatic
#4C5214 #7A8320 #A8B42C #C7D34A #D6DF7C

Accessibility & contrast

On white

2.28
#A8B42C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B42C#FFFFFF#000000##000000
##A8B42C1.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB0A
Deuteranopia (green-blind)
#C1AD38
Tritanopia (blue-blind)
#B3A99A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8b42c;
/* rgb */ color: rgb(168, 180, 44);
/* oklch */ color: oklch(73.7% 0.152 114.7);
Tailwind
colors: {
  custom: {
    50: '#c5ca70',
    500: '#a8b42c',
    950: '#000000',
  },
}
SCSS
$custom: #a8b42c;
$custom-light: #c5ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b42c",
  "rgb": {
    "r": 168,
    "g": 180,
    "b": 44
  },
  "hsl": {
    "h": 65.294,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.7367,
    "c": 0.15232,
    "h": 114.7
  },
  "luminance": 0.41149
}

Semantic roles & 50–950 ramp

primary
#A8B42C
secondary
#7C75C7
accent
#44E452
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B42C

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

Preview Lab → · Contrast checker → · Palette generator →

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