#A7B138#A7B138

#A7B138 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.0% C 0.142 H 114.0°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#A7B138
RGBrgb(167, 177, 56)
HSLhsl(65, 52%, 46%)
HSVhsv(65, 68%, 69%)
CMYKcmyk(5.6%, 0%, 68.4%, 30.6%)
CIE-LABlab(69.43, -19.05, 57.83)
CIE-LCHlch(69.43, 60.89, 108.24°)
OKLaboklab(72.99% -0.0577 0.1297)
OKLCHoklch(72.99% 0.142 114)
XYZxyz(32.3732, 39.9459, 9.7456)
Luminance0.3995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B138 #4238B1
analogous
#B17E38 #A7B138 #6AB138
triadic
#A7B138 #38A7B1 #B138A7
tetradic
#A7B138 #38B17E #4238B1 #B1386A
square
#A7B138 #38B17E #4238B1 #B1386A
split-complementary
#A7B138 #386AB1 #7E38B1
monochromatic
#4F541B #7B8329 #A7B138 #C2CB5B #D3DA8A

Accessibility & contrast

On white

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

On black

8.99
#A7B138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B138
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B138#FFFFFF#000000##000000
##A7B1381.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA826
Deuteranopia (green-blind)
#BDAB41
Tritanopia (blue-blind)
#B2A799
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a7b138;
/* rgb */ color: rgb(167, 177, 56);
/* oklch */ color: oklch(73.0% 0.142 114.0);
Tailwind
colors: {
  custom: {
    50: '#c4c876',
    500: '#a7b138',
    950: '#000000',
  },
}
SCSS
$custom: #a7b138;
$custom-light: #c4c876;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b138",
  "rgb": {
    "r": 167,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 64.959,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72992,
    "c": 0.14191,
    "h": 114
  },
  "luminance": 0.39945
}

Semantic roles & 50–950 ramp

primary
#A7B138
secondary
#8681C4
accent
#4CDB58
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B138

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

Preview Lab → · Contrast checker → · Palette generator →

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