#A5B726#A5B726

#A5B726 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.1% C 0.160 H 116.9°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#A5B726
RGBrgb(165, 183, 38)
HSLhsl(67, 66%, 43%)
HSVhsv(67, 79%, 72%)
CMYKcmyk(9.8%, 0%, 79.2%, 28.2%)
CIE-LABlab(70.88, -23.75, 65.28)
CIE-LCHlch(70.88, 69.47, 109.99°)
OKLaboklab(74.08% -0.0722 0.1424)
OKLCHoklch(74.08% 0.16 116.9)
XYZxyz(32.8013, 42.0067, 8.2135)
Luminance0.4201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B726 #3826B7
analogous
#B78026 #A5B726 #5CB726
triadic
#A5B726 #26A5B7 #B726A5
tetradic
#A5B726 #26B780 #3826B7 #B7265C
square
#A5B726 #26B780 #3826B7 #B7265C
split-complementary
#A5B726 #265CB7 #8026B7
monochromatic
#4A5211 #77841B #A5B726 #C5D842 #D5E275

Accessibility & contrast

On white

2.23
#A5B726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#A5B726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B726
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B726#FFFFFF#000000##000000
##A5B7261.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C2AE34
Tritanopia (blue-blind)
#B0AC9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a5b726;
/* rgb */ color: rgb(165, 183, 38);
/* oklch */ color: oklch(74.1% 0.160 116.9);
Tailwind
colors: {
  custom: {
    50: '#c3cc6e',
    500: '#a5b726',
    950: '#000000',
  },
}
SCSS
$custom: #a5b726;
$custom-light: #c3cc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b726",
  "rgb": {
    "r": 165,
    "g": 183,
    "b": 38
  },
  "hsl": {
    "h": 67.448,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.74082,
    "c": 0.15961,
    "h": 116.9
  },
  "luminance": 0.42006
}

Semantic roles & 50–950 ramp

primary
#A5B726
secondary
#7A6FCA
accent
#3FE954
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A5B726

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

Preview Lab → · Contrast checker → · Palette generator →

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