#A7B125#A7B125

#A7B125 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.9% C 0.153 H 113.9°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#A7B125
RGBrgb(167, 177, 37)
HSLhsl(64, 65%, 42%)
HSVhsv(64, 79%, 69%)
CMYKcmyk(5.6%, 0%, 79.1%, 30.6%)
CIE-LABlab(69.32, -19.96, 64.24)
CIE-LCHlch(69.32, 67.27, 107.26°)
OKLaboklab(72.87% -0.0619 0.1399)
OKLCHoklch(72.87% 0.153 113.9)
XYZxyz(31.9934, 39.7940, 7.7456)
Luminance0.3979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B125 #2F25B1
analogous
#B17525 #A7B125 #61B125
triadic
#A7B125 #25A7B1 #B125A7
tetradic
#A7B125 #25B175 #2F25B1 #B12561
square
#A7B125 #25B175 #2F25B1 #B12561
split-complementary
#A7B125 #2561B1 #7525B1
monochromatic
#474C10 #777E1A #A7B125 #CBD63D #D9E16F

Accessibility & contrast

On white

2.34
#A7B125 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#A7B125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B125
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B125#FFFFFF#000000##000000
##A7B1251.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7b125;
/* rgb */ color: rgb(167, 177, 37);
/* oklch */ color: oklch(72.9% 0.153 113.9);
Tailwind
colors: {
  custom: {
    50: '#c5c86d',
    500: '#a7b125',
    950: '#000000',
  },
}
SCSS
$custom: #a7b125;
$custom-light: #c5c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b125",
  "rgb": {
    "r": 167,
    "g": 177,
    "b": 37
  },
  "hsl": {
    "h": 64.286,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72871,
    "c": 0.15298,
    "h": 113.9
  },
  "luminance": 0.39793
}

Semantic roles & 50–950 ramp

primary
#A7B125
secondary
#716AC8
accent
#3FE84B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A7B125

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

Preview Lab → · Contrast checker → · Palette generator →

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