#A5B62F#A5B62F

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

Color values

HEX#A5B62F
RGBrgb(165, 182, 47)
HSLhsl(68, 59%, 45%)
HSVhsv(68, 74%, 71%)
CMYKcmyk(9.3%, 0%, 74.2%, 28.6%)
CIE-LABlab(70.64, -22.87, 62.24)
CIE-LCHlch(70.64, 66.31, 110.18°)
OKLaboklab(73.9% -0.069 0.1375)
OKLCHoklch(73.9% 0.154 116.7)
XYZxyz(32.7589, 41.6609, 9.0044)
Luminance0.4166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B62F #402FB6
analogous
#B6842F #A5B62F #61B62F
triadic
#A5B62F #2FA5B6 #B62FA5
tetradic
#A5B62F #2FB684 #402FB6 #B62F61
square
#A5B62F #2FB684 #402FB6 #B62F61
split-complementary
#A5B62F #2F61B6 #842FB6
monochromatic
#4D5516 #798522 #A5B62F #C2D250 #D3DE81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B62F#FFFFFF#000000##000000
##A5B62F1.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)
#C3AC12
Deuteranopia (green-blind)
#C1AE3B
Tritanopia (blue-blind)
#B0AC9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a5b62f;
/* rgb */ color: rgb(165, 182, 47);
/* oklch */ color: oklch(73.9% 0.154 116.7);
Tailwind
colors: {
  custom: {
    50: '#c3cb72',
    500: '#a5b62f',
    950: '#000000',
  },
}
SCSS
$custom: #a5b62f;
$custom-light: #c3cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b62f",
  "rgb": {
    "r": 165,
    "g": 182,
    "b": 47
  },
  "hsl": {
    "h": 67.556,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73904,
    "c": 0.15384,
    "h": 116.7
  },
  "luminance": 0.4166
}

Semantic roles & 50–950 ramp

primary
#A5B62F
secondary
#8379C7
accent
#46E259
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B62F

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

Preview Lab → · Contrast checker → · Palette generator →

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