#A5B930#A5B930

#A5B930 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#A5B930
RGBrgb(165, 185, 48)
HSLhsl(69, 59%, 46%)
HSVhsv(69, 74%, 73%)
CMYKcmyk(10.8%, 0%, 74.1%, 27.5%)
CIE-LABlab(71.49, -24.29, 62.71)
CIE-LCHlch(71.49, 67.26, 111.18°)
OKLaboklab(74.6% -0.0729 0.1387)
OKLCHoklch(74.6% 0.157 117.7)
XYZxyz(33.4003, 42.9110, 9.3189)
Luminance0.4291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B930 #4430B9
analogous
#B98830 #A5B930 #60B930
triadic
#A5B930 #30A5B9 #B930A5
tetradic
#A5B930 #30B988 #4430B9 #B93060
square
#A5B930 #30B988 #4430B9 #B93060
split-complementary
#A5B930 #3060B9 #8830B9
monochromatic
#4E5817 #7A8823 #A5B930 #C0D354 #D2DF84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B930#FFFFFF#000000##000000
##A5B9301.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)
#C6AF13
Deuteranopia (green-blind)
#C4B03C
Tritanopia (blue-blind)
#AFAF9F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a5b930;
/* rgb */ color: rgb(165, 185, 48);
/* oklch */ color: oklch(74.6% 0.157 117.7);
Tailwind
colors: {
  custom: {
    50: '#c3ce73',
    500: '#a5b930',
    950: '#000000',
  },
}
SCSS
$custom: #a5b930;
$custom-light: #c3ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b930",
  "rgb": {
    "r": 165,
    "g": 185,
    "b": 48
  },
  "hsl": {
    "h": 68.759,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74595,
    "c": 0.15664,
    "h": 117.7
  },
  "luminance": 0.42911
}

Semantic roles & 50–950 ramp

primary
#A5B930
secondary
#877CC9
accent
#46E25D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A5B930

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

Preview Lab → · Contrast checker → · Palette generator →

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