#A5B62B#A5B62B

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

Color values

HEX#A5B62B
RGBrgb(165, 182, 43)
HSLhsl(67, 62%, 44%)
HSVhsv(67, 76%, 71%)
CMYKcmyk(9.3%, 0%, 76.4%, 28.6%)
CIE-LABlab(70.62, -23.05, 63.53)
CIE-LCHlch(70.62, 67.58, 109.94°)
OKLaboklab(73.88% -0.0699 0.1395)
OKLCHoklch(73.88% 0.156 116.6)
XYZxyz(32.6819, 41.6301, 8.5988)
Luminance0.4163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B62B #3C2BB6
analogous
#B6822B #A5B62B #60B62B
triadic
#A5B62B #2BA5B6 #B62BA5
tetradic
#A5B62B #2BB682 #3C2BB6 #B62B60
square
#A5B62B #2BB682 #3C2BB6 #B62B60
split-complementary
#A5B62B #2B60B6 #822BB6
monochromatic
#4B5314 #78841F #A5B62B #C3D44A #D4E07B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B62B#FFFFFF#000000##000000
##A5B62B1.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)
#C3AC05
Deuteranopia (green-blind)
#C1AE38
Tritanopia (blue-blind)
#B0AB9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a5b62b;
/* rgb */ color: rgb(165, 182, 43);
/* oklch */ color: oklch(73.9% 0.156 116.6);
Tailwind
colors: {
  custom: {
    50: '#c3cb70',
    500: '#a5b62b',
    950: '#000000',
  },
}
SCSS
$custom: #a5b62b;
$custom-light: #c3cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b62b",
  "rgb": {
    "r": 165,
    "g": 182,
    "b": 43
  },
  "hsl": {
    "h": 67.338,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.7388,
    "c": 0.15603,
    "h": 116.6
  },
  "luminance": 0.4163
}

Semantic roles & 50–950 ramp

primary
#A5B62B
secondary
#7F75C8
accent
#43E557
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B62B

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

Preview Lab → · Contrast checker → · Palette generator →

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