#A5B92B#A5B92B

#A5B92B is a light, vivid yellow. Relative luminance 0.429; OKLCH L 74.6% C 0.159 H 117.6°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#A5B92B
RGBrgb(165, 185, 43)
HSLhsl(68, 62%, 45%)
HSVhsv(68, 77%, 73%)
CMYKcmyk(10.8%, 0%, 76.8%, 27.5%)
CIE-LABlab(71.47, -24.52, 64.32)
CIE-LCHlch(71.47, 68.83, 110.87°)
OKLaboklab(74.57% -0.0739 0.1412)
OKLCHoklch(74.57% 0.159 117.6)
XYZxyz(33.3029, 42.8720, 8.8058)
Luminance0.4287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B92B #3F2BB9
analogous
#B9862B #A5B92B #5EB92B
triadic
#A5B92B #2BA5B9 #B92BA5
tetradic
#A5B92B #2BB986 #3F2BB9 #B92B5E
square
#A5B92B #2BB986 #3F2BB9 #B92B5E
split-complementary
#A5B92B #2B5EB9 #862BB9
monochromatic
#4C5614 #79871F #A5B92B #C2D54C #D3E17E

Accessibility & contrast

On white

2.19
#A5B92B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#A5B92B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B92B
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B92B#FFFFFF#000000##000000
##A5B92B1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF02
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#AFAE9F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a5b92b;
/* rgb */ color: rgb(165, 185, 43);
/* oklch */ color: oklch(74.6% 0.159 117.6);
Tailwind
colors: {
  custom: {
    50: '#c3ce70',
    500: '#a5b92b',
    950: '#000000',
  },
}
SCSS
$custom: #a5b92b;
$custom-light: #c3ce70;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b92b",
  "rgb": {
    "r": 165,
    "g": 185,
    "b": 43
  },
  "hsl": {
    "h": 68.451,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74566,
    "c": 0.15937,
    "h": 117.6
  },
  "luminance": 0.42872
}

Semantic roles & 50–950 ramp

primary
#A5B92B
secondary
#8276C9
accent
#42E559
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B92B

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

Preview Lab → · Contrast checker → · Palette generator →

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