#A5B62C#A5B62C

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

Color values

HEX#A5B62C
RGBrgb(165, 182, 44)
HSLhsl(67, 61%, 44%)
HSVhsv(67, 76%, 71%)
CMYKcmyk(9.3%, 0%, 75.8%, 28.6%)
CIE-LABlab(70.62, -23.01, 63.21)
CIE-LCHlch(70.62, 67.27, 110.00°)
OKLaboklab(73.89% -0.0696 0.139)
OKLCHoklch(73.89% 0.156 116.6)
XYZxyz(32.7005, 41.6375, 8.6966)
Luminance0.4164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B62C #3D2CB6
analogous
#B6822C #A5B62C #60B62C
triadic
#A5B62C #2CA5B6 #B62CA5
tetradic
#A5B62C #2CB682 #3D2CB6 #B62C60
square
#A5B62C #2CB682 #3D2CB6 #B62C60
split-complementary
#A5B62C #2C60B6 #822CB6
monochromatic
#4C5314 #788520 #A5B62C #C3D44C #D3E07D

Accessibility & contrast

On white

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

On black

9.33
#A5B62C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B62C
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B62C#FFFFFF#000000##000000
##A5B62C1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5b62c;
/* rgb */ color: rgb(165, 182, 44);
/* oklch */ color: oklch(73.9% 0.155 116.6);
Tailwind
colors: {
  custom: {
    50: '#c3cb70',
    500: '#a5b62c',
    950: '#000000',
  },
}
SCSS
$custom: #a5b62c;
$custom-light: #c3cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b62c",
  "rgb": {
    "r": 165,
    "g": 182,
    "b": 44
  },
  "hsl": {
    "h": 67.391,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73886,
    "c": 0.1555,
    "h": 116.6
  },
  "luminance": 0.41637
}

Semantic roles & 50–950 ramp

primary
#A5B62C
secondary
#8076C8
accent
#44E457
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B62C

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

Preview Lab → · Contrast checker → · Palette generator →

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