#A5B02E#A5B02E

#A5B02E is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.5% C 0.148 H 114.4°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#A5B02E
RGBrgb(165, 176, 46)
HSLhsl(65, 59%, 44%)
HSVhsv(65, 74%, 69%)
CMYKcmyk(6.2%, 0%, 73.9%, 31%)
CIE-LABlab(68.93, -19.93, 60.96)
CIE-LCHlch(68.93, 64.14, 108.11°)
OKLaboklab(72.53% -0.061 0.1346)
OKLCHoklch(72.53% 0.148 114.4)
XYZxyz(31.5364, 39.2479, 8.4985)
Luminance0.3925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B02E #392EB0
analogous
#B07A2E #A5B02E #64B02E
triadic
#A5B02E #2EA5B0 #B02EA5
tetradic
#A5B02E #2EB07A #392EB0 #B02E64
square
#A5B02E #2EB07A #392EB0 #B02E64
split-complementary
#A5B02E #2E64B0 #7A2EB0
monochromatic
#4A4F15 #787F21 #A5B02E #C5D04B #D4DD7C

Accessibility & contrast

On white

2.37
#A5B02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#A5B02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B02E
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B02E#FFFFFF#000000##000000
##A5B02E1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA713
Deuteranopia (green-blind)
#BCA939
Tritanopia (blue-blind)
#B0A597
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a5b02e;
/* rgb */ color: rgb(165, 176, 46);
/* oklch */ color: oklch(72.5% 0.148 114.4);
Tailwind
colors: {
  custom: {
    50: '#c3c771',
    500: '#a5b02e',
    950: '#000000',
  },
}
SCSS
$custom: #a5b02e;
$custom-light: #c3c771;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b02e",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 46
  },
  "hsl": {
    "h": 65.077,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72533,
    "c": 0.14777,
    "h": 114.4
  },
  "luminance": 0.39247
}

Semantic roles & 50–950 ramp

primary
#A5B02E
secondary
#7B75C5
accent
#46E253
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B02E

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

Preview Lab → · Contrast checker → · Palette generator →

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