#A5B92F#A5B92F

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

Color values

HEX#A5B92F
RGBrgb(165, 185, 47)
HSLhsl(69, 59%, 45%)
HSVhsv(69, 75%, 73%)
CMYKcmyk(10.8%, 0%, 74.6%, 27.5%)
CIE-LABlab(71.49, -24.34, 63.04)
CIE-LCHlch(71.49, 67.58, 111.11°)
OKLaboklab(74.59% -0.0731 0.1392)
OKLCHoklch(74.59% 0.157 117.7)
XYZxyz(33.3799, 42.9028, 9.2114)
Luminance0.4290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B92F #432FB9
analogous
#B9882F #A5B92F #60B92F
triadic
#A5B92F #2FA5B9 #B92FA5
tetradic
#A5B92F #2FB988 #432FB9 #B92F60
square
#A5B92F #2FB988 #432FB9 #B92F60
split-complementary
#A5B92F #2F60B9 #882FB9
monochromatic
#4E5716 #798823 #A5B92F #C0D352 #D2DF83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B92F#FFFFFF#000000##000000
##A5B92F1.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)
#C6AF10
Deuteranopia (green-blind)
#C4B03B
Tritanopia (blue-blind)
#AFAF9F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a5b92f;
/* rgb */ color: rgb(165, 185, 47);
/* oklch */ color: oklch(74.6% 0.157 117.7);
Tailwind
colors: {
  custom: {
    50: '#c3ce72',
    500: '#a5b92f',
    950: '#000000',
  },
}
SCSS
$custom: #a5b92f;
$custom-light: #c3ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b92f",
  "rgb": {
    "r": 165,
    "g": 185,
    "b": 47
  },
  "hsl": {
    "h": 68.696,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74589,
    "c": 0.15721,
    "h": 117.7
  },
  "luminance": 0.42902
}

Semantic roles & 50–950 ramp

primary
#A5B92F
secondary
#867BC9
accent
#45E35C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B92F

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

Preview Lab → · Contrast checker → · Palette generator →

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