#A7B131#A7B131

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

Color values

HEX#A7B131
RGBrgb(167, 177, 49)
HSLhsl(65, 57%, 44%)
HSVhsv(65, 72%, 69%)
CMYKcmyk(5.6%, 0%, 72.3%, 30.6%)
CIE-LABlab(69.39, -19.43, 60.40)
CIE-LCHlch(69.39, 63.45, 107.83°)
OKLaboklab(72.94% -0.0594 0.1339)
OKLCHoklch(72.94% 0.146 113.9)
XYZxyz(32.2138, 39.8822, 8.9062)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B131 #3B31B1
analogous
#B17B31 #A7B131 #67B131
triadic
#A7B131 #31A7B1 #B131A7
tetradic
#A7B131 #31B17B #3B31B1 #B13167
square
#A7B131 #31B17B #3B31B1 #B13167
split-complementary
#A7B131 #3167B1 #7B31B1
monochromatic
#4D5116 #7A8124 #A7B131 #C5CF51 #D5DC80

Accessibility & contrast

On white

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

On black

8.98
#A7B131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B131
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B131#FFFFFF#000000##000000
##A7B1311.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA819
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#B2A698
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a7b131;
/* rgb */ color: rgb(167, 177, 49);
/* oklch */ color: oklch(72.9% 0.146 113.9);
Tailwind
colors: {
  custom: {
    50: '#c4c872',
    500: '#a7b131',
    950: '#000000',
  },
}
SCSS
$custom: #a7b131;
$custom-light: #c4c872;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b131",
  "rgb": {
    "r": 167,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 64.688,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72941,
    "c": 0.14648,
    "h": 113.9
  },
  "luminance": 0.39882
}

Semantic roles & 50–950 ramp

primary
#A7B131
secondary
#7F79C5
accent
#48E054
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B131

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

Preview Lab → · Contrast checker → · Palette generator →

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