#A7B140#A7B140

#A7B140 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.1% C 0.136 H 114.1°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#A7B140
RGBrgb(167, 177, 64)
HSLhsl(65, 47%, 47%)
HSVhsv(65, 64%, 69%)
CMYKcmyk(5.6%, 0%, 63.8%, 30.6%)
CIE-LABlab(69.49, -18.56, 54.65)
CIE-LCHlch(69.49, 57.71, 108.75°)
OKLaboklab(73.06% -0.0555 0.1242)
OKLCHoklch(73.06% 0.136 114.1)
XYZxyz(32.5847, 40.0305, 10.8596)
Luminance0.4003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B140 #4A40B1
analogous
#B18340 #A7B140 #6EB140
triadic
#A7B140 #40A7B1 #B140A7
tetradic
#A7B140 #40B183 #4A40B1 #B1406E
square
#A7B140 #40B183 #4A40B1 #B1406E
split-complementary
#A7B140 #406EB1 #8340B1
monochromatic
#52571F #7D8430 #A7B140 #BFC866 #D2D893

Accessibility & contrast

On white

2.33
#A7B140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#A7B140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B140
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B140#FFFFFF#000000##000000
##A7B1401.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA931
Deuteranopia (green-blind)
#BDAB48
Tritanopia (blue-blind)
#B1A79A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a7b140;
/* rgb */ color: rgb(167, 177, 64);
/* oklch */ color: oklch(73.1% 0.136 114.1);
Tailwind
colors: {
  custom: {
    50: '#c4c87a',
    500: '#a7b140',
    950: '#000000',
  },
}
SCSS
$custom: #a7b140;
$custom-light: #c4c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b140",
  "rgb": {
    "r": 167,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 65.31,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7306,
    "c": 0.13602,
    "h": 114.1
  },
  "luminance": 0.4003
}

Semantic roles & 50–950 ramp

primary
#A7B140
secondary
#8E89C3
accent
#51D75D
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A7B140

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

Preview Lab → · Contrast checker → · Palette generator →

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