#A5B125#A5B125

#A5B125 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.92:1 contrast (WCAG AA passes).

Color values

HEX#A5B125
RGBrgb(165, 177, 37)
HSLhsl(65, 65%, 42%)
HSVhsv(65, 79%, 69%)
CMYKcmyk(6.8%, 0%, 79.1%, 30.6%)
CIE-LABlab(69.17, -20.82, 64.04)
CIE-LCHlch(69.17, 67.34, 108.01°)
OKLaboklab(72.71% -0.0642 0.1396)
OKLCHoklch(72.71% 0.154 114.7)
XYZxyz(31.5741, 39.5778, 7.7259)
Luminance0.3958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5B125 #3125B1
analogous
#B17725 #A5B125 #5FB125
triadic
#A5B125 #25A5B1 #B125A5
tetradic
#A5B125 #25B177 #3125B1 #B1255F
square
#A5B125 #25B177 #3125B1 #B1255F
split-complementary
#A5B125 #255FB1 #7725B1
monochromatic
#474C10 #767E1A #A5B125 #C9D63D #D7E16F

Accessibility & contrast

On white

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

On black

8.92
#A5B125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5B125
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5B125#FFFFFF#000000##000000
##A5B1251.002.368.928.92
#FFFFFF2.361.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.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: #a5b125;
/* rgb */ color: rgb(165, 177, 37);
/* oklch */ color: oklch(72.7% 0.154 114.7);
Tailwind
colors: {
  custom: {
    50: '#c3c86d',
    500: '#a5b125',
    950: '#000000',
  },
}
SCSS
$custom: #a5b125;
$custom-light: #c3c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5b125",
  "rgb": {
    "r": 165,
    "g": 177,
    "b": 37
  },
  "hsl": {
    "h": 65.143,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72708,
    "c": 0.15359,
    "h": 114.7
  },
  "luminance": 0.39577
}

Semantic roles & 50–950 ramp

primary
#A5B125
secondary
#726AC8
accent
#3FE84E
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A5B125

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

Preview Lab → · Contrast checker → · Palette generator →

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