#A7B127#A7B127

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

Color values

HEX#A7B127
RGBrgb(167, 177, 39)
HSLhsl(64, 64%, 42%)
HSVhsv(64, 78%, 69%)
CMYKcmyk(5.6%, 0%, 78%, 30.6%)
CIE-LABlab(69.33, -19.88, 63.65)
CIE-LCHlch(69.33, 66.69, 107.35°)
OKLaboklab(72.88% -0.0615 0.139)
OKLCHoklch(72.88% 0.152 113.9)
XYZxyz(32.0257, 39.8069, 7.9155)
Luminance0.3981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B127 #3127B1
analogous
#B17627 #A7B127 #62B127
triadic
#A7B127 #27A7B1 #B127A7
tetradic
#A7B127 #27B176 #3127B1 #B12762
square
#A7B127 #27B176 #3127B1 #B12762
split-complementary
#A7B127 #2762B1 #7627B1
monochromatic
#484D11 #787F1C #A7B127 #CAD540 #D8E072

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B127#FFFFFF#000000##000000
##A7B1271.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)
#BEAB34
Tritanopia (blue-blind)
#B2A698
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a7b127;
/* rgb */ color: rgb(167, 177, 39);
/* oklch */ color: oklch(72.9% 0.152 113.9);
Tailwind
colors: {
  custom: {
    50: '#c5c86d',
    500: '#a7b127',
    950: '#000000',
  },
}
SCSS
$custom: #a7b127;
$custom-light: #c5c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b127",
  "rgb": {
    "r": 167,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 64.348,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72881,
    "c": 0.15201,
    "h": 113.9
  },
  "luminance": 0.39806
}

Semantic roles & 50–950 ramp

primary
#A7B127
secondary
#736DC7
accent
#41E74D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B127

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

Preview Lab → · Contrast checker → · Palette generator →

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