#A8B62A#A8B62A

#A8B62A is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.1% C 0.156 H 115.4°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#A8B62A
RGBrgb(168, 182, 42)
HSLhsl(66, 63%, 44%)
HSVhsv(66, 77%, 71%)
CMYKcmyk(7.7%, 0%, 76.9%, 28.6%)
CIE-LABlab(70.84, -21.82, 64.13)
CIE-LCHlch(70.84, 67.74, 108.79°)
OKLaboklab(74.11% -0.0667 0.1405)
OKLCHoklch(74.11% 0.156 115.4)
XYZxyz(33.2953, 41.9485, 8.5329)
Luminance0.4195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B62A #382AB6
analogous
#B67E2A #A8B62A #62B62A
triadic
#A8B62A #2AA8B6 #B62AA8
tetradic
#A8B62A #2AB67E #382AB6 #B62A62
square
#A8B62A #2AB67E #382AB6 #B62A62
split-complementary
#A8B62A #2A62B6 #7E2AB6
monochromatic
#4C5313 #7A841F #A8B62A #C7D548 #D6E07A

Accessibility & contrast

On white

2.24
#A8B62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#A8B62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B62A
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B62A#FFFFFF#000000##000000
##A8B62A1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC01
Deuteranopia (green-blind)
#C2AE37
Tritanopia (blue-blind)
#B3AB9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8b62a;
/* rgb */ color: rgb(168, 182, 42);
/* oklch */ color: oklch(74.1% 0.156 115.4);
Tailwind
colors: {
  custom: {
    50: '#c6cb6f',
    500: '#a8b62a',
    950: '#000000',
  },
}
SCSS
$custom: #a8b62a;
$custom-light: #c6cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b62a",
  "rgb": {
    "r": 168,
    "g": 182,
    "b": 42
  },
  "hsl": {
    "h": 66,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74111,
    "c": 0.15554,
    "h": 115.4
  },
  "luminance": 0.41948
}

Semantic roles & 50–950 ramp

primary
#A8B62A
secondary
#7C73C8
accent
#42E653
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B62A

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

Preview Lab → · Contrast checker → · Palette generator →

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