#A5B62A#A5B62A

#A5B62A is a light, vivid yellow. Relative luminance 0.416; OKLCH L 73.9% C 0.157 H 116.6°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#A5B62A
RGBrgb(165, 182, 42)
HSLhsl(67, 63%, 44%)
HSVhsv(67, 77%, 71%)
CMYKcmyk(9.3%, 0%, 76.9%, 28.6%)
CIE-LABlab(70.61, -23.10, 63.84)
CIE-LCHlch(70.61, 67.89, 109.89°)
OKLaboklab(73.87% -0.0701 0.14)
OKLCHoklch(73.87% 0.157 116.6)
XYZxyz(32.6638, 41.6228, 8.5033)
Luminance0.4162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B62A #3B2AB6
analogous
#B6812A #A5B62A #5FB62A
triadic
#A5B62A #2AA5B6 #B62AA5
tetradic
#A5B62A #2AB681 #3B2AB6 #B62A5F
square
#A5B62A #2AB681 #3B2AB6 #B62A5F
split-complementary
#A5B62A #2A5FB6 #812AB6
monochromatic
#4B5313 #78841F #A5B62A #C4D548 #D4E07A

Accessibility & contrast

On white

2.25
#A5B62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#A5B62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B62A
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B62A#FFFFFF#000000##000000
##A5B62A1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5b62a;
/* rgb */ color: rgb(165, 182, 42);
/* oklch */ color: oklch(73.9% 0.157 116.6);
Tailwind
colors: {
  custom: {
    50: '#c3cb6f',
    500: '#a5b62a',
    950: '#000000',
  },
}
SCSS
$custom: #a5b62a;
$custom-light: #c3cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b62a",
  "rgb": {
    "r": 165,
    "g": 182,
    "b": 42
  },
  "hsl": {
    "h": 67.286,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73874,
    "c": 0.15655,
    "h": 116.6
  },
  "luminance": 0.41622
}

Semantic roles & 50–950 ramp

primary
#A5B62A
secondary
#7E73C8
accent
#42E656
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B62A

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

Preview Lab → · Contrast checker → · Palette generator →

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