#A5B92D#A5B92D

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

Color values

HEX#A5B92D
RGBrgb(165, 185, 45)
HSLhsl(69, 61%, 45%)
HSVhsv(69, 76%, 73%)
CMYKcmyk(10.8%, 0%, 75.7%, 27.5%)
CIE-LABlab(71.48, -24.44, 63.69)
CIE-LCHlch(71.48, 68.22, 110.99°)
OKLaboklab(74.58% -0.0735 0.1402)
OKLCHoklch(74.58% 0.158 117.7)
XYZxyz(33.3405, 42.8871, 9.0038)
Luminance0.4289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B92D #412DB9
analogous
#B9872D #A5B92D #5FB92D
triadic
#A5B92D #2DA5B9 #B92DA5
tetradic
#A5B92D #2DB987 #412DB9 #B92D5F
square
#A5B92D #2DB987 #412DB9 #B92D5F
split-complementary
#A5B92D #2D5FB9 #872DB9
monochromatic
#4D5715 #798821 #A5B92D #C1D44F #D2E080

Accessibility & contrast

On white

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

On black

9.58
#A5B92D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B92D
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B92D#FFFFFF#000000##000000
##A5B92D1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5b92d;
/* rgb */ color: rgb(165, 185, 45);
/* oklch */ color: oklch(74.6% 0.158 117.7);
Tailwind
colors: {
  custom: {
    50: '#c3ce71',
    500: '#a5b92d',
    950: '#000000',
  },
}
SCSS
$custom: #a5b92d;
$custom-light: #c3ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b92d",
  "rgb": {
    "r": 165,
    "g": 185,
    "b": 45
  },
  "hsl": {
    "h": 68.571,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74577,
    "c": 0.15831,
    "h": 117.7
  },
  "luminance": 0.42887
}

Semantic roles & 50–950 ramp

primary
#A5B92D
secondary
#8479C9
accent
#44E45B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B92D

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

Preview Lab → · Contrast checker → · Palette generator →

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