#A5B427#A5B427

#A5B427 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.4% C 0.156 H 115.8°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#A5B427
RGBrgb(165, 180, 39)
HSLhsl(66, 64%, 43%)
HSVhsv(66, 78%, 71%)
CMYKcmyk(8.3%, 0%, 78.3%, 29.4%)
CIE-LABlab(70.03, -22.23, 64.22)
CIE-LCHlch(70.03, 67.96, 109.09°)
OKLaboklab(73.4% -0.0679 0.1403)
OKLCHoklch(73.4% 0.156 115.8)
XYZxyz(32.2054, 40.7888, 8.0955)
Luminance0.4079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B427 #3627B4
analogous
#B47C27 #A5B427 #5EB427
triadic
#A5B427 #27A5B4 #B427A5
tetradic
#A5B427 #27B47C #3627B4 #B4275E
square
#A5B427 #27B47C #3627B4 #B4275E
split-complementary
#A5B427 #275EB4 #7C27B4
monochromatic
#494F11 #77821C #A5B427 #C6D642 #D5E174

Accessibility & contrast

On white

2.29
#A5B427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#A5B427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B427
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B427#FFFFFF#000000##000000
##A5B4271.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC34
Tritanopia (blue-blind)
#B0A99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a5b427;
/* rgb */ color: rgb(165, 180, 39);
/* oklch */ color: oklch(73.4% 0.156 115.8);
Tailwind
colors: {
  custom: {
    50: '#c3ca6e',
    500: '#a5b427',
    950: '#000000',
  },
}
SCSS
$custom: #a5b427;
$custom-light: #c3ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b427",
  "rgb": {
    "r": 165,
    "g": 180,
    "b": 39
  },
  "hsl": {
    "h": 66.383,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73402,
    "c": 0.15587,
    "h": 115.8
  },
  "luminance": 0.40788
}

Semantic roles & 50–950 ramp

primary
#A5B427
secondary
#786FC8
accent
#40E752
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B427

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

Preview Lab → · Contrast checker → · Palette generator →

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