#A5B124#A5B124

#A5B124 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 72.7% C 0.154 H 114.7°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#A5B124
RGBrgb(165, 177, 36)
HSLhsl(65, 66%, 42%)
HSVhsv(65, 80%, 69%)
CMYKcmyk(6.8%, 0%, 79.7%, 30.6%)
CIE-LABlab(69.16, -20.85, 64.33)
CIE-LCHlch(69.16, 67.62, 107.96°)
OKLaboklab(72.7% -0.0643 0.14)
OKLCHoklch(72.7% 0.154 114.7)
XYZxyz(31.5586, 39.5716, 7.6443)
Luminance0.3957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B124 #3024B1
analogous
#B17624 #A5B124 #5FB124
triadic
#A5B124 #24A5B1 #B124A5
tetradic
#A5B124 #24B176 #3024B1 #B1245F
square
#A5B124 #24B176 #3024B1 #B1245F
split-complementary
#A5B124 #245FB1 #7624B1
monochromatic
#464B0F #767E1A #A5B124 #CAD73B #D8E16E

Accessibility & contrast

On white

2.36
#A5B124 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#A5B124 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B124
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B124#FFFFFF#000000##000000
##A5B1241.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BEAA32
Tritanopia (blue-blind)
#B0A697
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a5b124;
/* rgb */ color: rgb(165, 177, 36);
/* oklch */ color: oklch(72.7% 0.154 114.7);
Tailwind
colors: {
  custom: {
    50: '#c3c86c',
    500: '#a5b124',
    950: '#000000',
  },
}
SCSS
$custom: #a5b124;
$custom-light: #c3c86c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b124",
  "rgb": {
    "r": 165,
    "g": 177,
    "b": 36
  },
  "hsl": {
    "h": 65.106,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72703,
    "c": 0.15407,
    "h": 114.7
  },
  "luminance": 0.39571
}

Semantic roles & 50–950 ramp

primary
#A5B124
secondary
#7169C8
accent
#3FE94D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A5B124

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

Preview Lab → · Contrast checker → · Palette generator →

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