#A5B62D#A5B62D

#A5B62D 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#A5B62D
RGBrgb(165, 182, 45)
HSLhsl(67, 60%, 45%)
HSVhsv(67, 75%, 71%)
CMYKcmyk(9.3%, 0%, 75.3%, 28.6%)
CIE-LABlab(70.63, -22.96, 62.89)
CIE-LCHlch(70.63, 66.95, 110.06°)
OKLaboklab(73.89% -0.0694 0.1385)
OKLCHoklch(73.89% 0.155 116.6)
XYZxyz(32.7195, 41.6451, 8.7968)
Luminance0.4164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B62D #3E2DB6
analogous
#B6822D #A5B62D #61B62D
triadic
#A5B62D #2DA5B6 #B62DA5
tetradic
#A5B62D #2DB682 #3E2DB6 #B62D61
square
#A5B62D #2DB682 #3E2DB6 #B62D61
split-complementary
#A5B62D #2D61B6 #822DB6
monochromatic
#4C5415 #798521 #A5B62D #C2D34D #D3DF7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B62D#FFFFFF#000000##000000
##A5B62D1.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)
#C3AC0C
Deuteranopia (green-blind)
#C1AE39
Tritanopia (blue-blind)
#B0AB9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a5b62d;
/* rgb */ color: rgb(165, 182, 45);
/* oklch */ color: oklch(73.9% 0.155 116.6);
Tailwind
colors: {
  custom: {
    50: '#c3cb71',
    500: '#a5b62d',
    950: '#000000',
  },
}
SCSS
$custom: #a5b62d;
$custom-light: #c3cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b62d",
  "rgb": {
    "r": 165,
    "g": 182,
    "b": 45
  },
  "hsl": {
    "h": 67.445,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73892,
    "c": 0.15496,
    "h": 116.6
  },
  "luminance": 0.41645
}

Semantic roles & 50–950 ramp

primary
#A5B62D
secondary
#8177C8
accent
#44E358
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B62D

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

Preview Lab → · Contrast checker → · Palette generator →

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