#A7B124#A7B124

#A7B124 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#A7B124
RGBrgb(167, 177, 36)
HSLhsl(64, 66%, 42%)
HSVhsv(64, 80%, 69%)
CMYKcmyk(5.6%, 0%, 79.7%, 30.6%)
CIE-LABlab(69.32, -20.00, 64.52)
CIE-LCHlch(69.32, 67.55, 107.22°)
OKLaboklab(72.87% -0.0621 0.1403)
OKLCHoklch(72.87% 0.153 113.9)
XYZxyz(31.9779, 39.7878, 7.6640)
Luminance0.3979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B124 #2E24B1
analogous
#B17524 #A7B124 #61B124
triadic
#A7B124 #24A7B1 #B124A7
tetradic
#A7B124 #24B175 #2E24B1 #B12461
square
#A7B124 #24B175 #2E24B1 #B12461
split-complementary
#A7B124 #2461B1 #7524B1
monochromatic
#474B0F #777E1A #A7B124 #CCD73B #D9E16E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B124#FFFFFF#000000##000000
##A7B1241.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)
#BFA800
Deuteranopia (green-blind)
#BEAB32
Tritanopia (blue-blind)
#B3A697
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a7b124;
/* rgb */ color: rgb(167, 177, 36);
/* oklch */ color: oklch(72.9% 0.153 113.9);
Tailwind
colors: {
  custom: {
    50: '#c5c86c',
    500: '#a7b124',
    950: '#000000',
  },
}
SCSS
$custom: #a7b124;
$custom-light: #c5c86c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b124",
  "rgb": {
    "r": 167,
    "g": 177,
    "b": 36
  },
  "hsl": {
    "h": 64.255,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72866,
    "c": 0.15344,
    "h": 113.9
  },
  "luminance": 0.39787
}

Semantic roles & 50–950 ramp

primary
#A7B124
secondary
#7069C8
accent
#3FE94B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A7B124

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

Preview Lab → · Contrast checker → · Palette generator →

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