#A5B426#A5B426

#A5B426 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#A5B426
RGBrgb(165, 180, 38)
HSLhsl(66, 65%, 43%)
HSVhsv(66, 79%, 71%)
CMYKcmyk(8.3%, 0%, 78.9%, 29.4%)
CIE-LABlab(70.02, -22.27, 64.52)
CIE-LCHlch(70.02, 68.25, 109.04°)
OKLaboklab(73.4% -0.0681 0.1407)
OKLCHoklch(73.4% 0.156 115.8)
XYZxyz(32.1891, 40.7823, 8.0094)
Luminance0.4078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B426 #3526B4
analogous
#B47C26 #A5B426 #5EB426
triadic
#A5B426 #26A5B4 #B426A5
tetradic
#A5B426 #26B47C #3526B4 #B4265E
square
#A5B426 #26B47C #3526B4 #B4265E
split-complementary
#A5B426 #265EB4 #7C26B4
monochromatic
#484F11 #77811B #A5B426 #C7D740 #D6E173

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5B426#FFFFFF#000000##000000
##A5B4261.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: #a5b426;
/* rgb */ color: rgb(165, 180, 38);
/* oklch */ color: oklch(73.4% 0.156 115.8);
Tailwind
colors: {
  custom: {
    50: '#c3ca6d',
    500: '#a5b426',
    950: '#000000',
  },
}
SCSS
$custom: #a5b426;
$custom-light: #c3ca6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b426",
  "rgb": {
    "r": 165,
    "g": 180,
    "b": 38
  },
  "hsl": {
    "h": 66.338,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.73397,
    "c": 0.15635,
    "h": 115.8
  },
  "luminance": 0.40782
}

Semantic roles & 50–950 ramp

primary
#A5B426
secondary
#776DC9
accent
#40E851
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B426

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

Preview Lab → · Contrast checker → · Palette generator →

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