#A5B02F#A5B02F

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

Color values

HEX#A5B02F
RGBrgb(165, 176, 47)
HSLhsl(65, 58%, 44%)
HSVhsv(65, 73%, 69%)
CMYKcmyk(6.2%, 0%, 73.3%, 31%)
CIE-LABlab(68.94, -19.88, 60.62)
CIE-LCHlch(68.94, 63.80, 108.16°)
OKLaboklab(72.54% -0.0607 0.1341)
OKLCHoklch(72.54% 0.147 114.4)
XYZxyz(31.5564, 39.2558, 8.6036)
Luminance0.3926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B02F #3A2FB0
analogous
#B07A2F #A5B02F #64B02F
triadic
#A5B02F #2FA5B0 #B02FA5
tetradic
#A5B02F #2FB07A #3A2FB0 #B02F64
square
#A5B02F #2FB07A #3A2FB0 #B02F64
split-complementary
#A5B02F #2F64B0 #7A2FB0
monochromatic
#4A4F15 #788022 #A5B02F #C4CF4D #D4DC7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B02F#FFFFFF#000000##000000
##A5B02F1.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)
#BDA715
Deuteranopia (green-blind)
#BCA93A
Tritanopia (blue-blind)
#B0A697
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a5b02f;
/* rgb */ color: rgb(165, 176, 47);
/* oklch */ color: oklch(72.5% 0.147 114.4);
Tailwind
colors: {
  custom: {
    50: '#c3c771',
    500: '#a5b02f',
    950: '#000000',
  },
}
SCSS
$custom: #a5b02f;
$custom-light: #c3c771;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b02f",
  "rgb": {
    "r": 165,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 65.116,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72539,
    "c": 0.14719,
    "h": 114.4
  },
  "luminance": 0.39255
}

Semantic roles & 50–950 ramp

primary
#A5B02F
secondary
#7D76C5
accent
#47E154
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B02F

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

Preview Lab → · Contrast checker → · Palette generator →

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