#A7B155#A7B155

#A7B155 is a light, moderate yellow. Relative luminance 0.403; OKLCH L 73.3% C 0.117 H 114.5°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#A7B155
RGBrgb(167, 177, 85)
HSLhsl(67, 37%, 51%)
HSVhsv(67, 52%, 69%)
CMYKcmyk(5.6%, 0%, 52%, 30.6%)
CIE-LABlab(69.69, -16.89, 45.33)
CIE-LCHlch(69.69, 48.38, 110.44°)
OKLaboklab(73.29% -0.0486 0.1068)
OKLCHoklch(73.29% 0.117 114.5)
XYZxyz(33.2987, 40.3161, 14.6202)
Luminance0.4032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B155 #5F55B1
analogous
#B18D55 #A7B155 #79B155
triadic
#A7B155 #55A7B1 #B155A7
tetradic
#A7B155 #55B18D #5F55B1 #B15579
square
#A7B155 #55B18D #5F55B1 #B15579
split-complementary
#A7B155 #5579B1 #8D55B1
monochromatic
#5A602C #828A3F #A7B155 #BDC47F #D2D7A9

Accessibility & contrast

On white

2.32
#A7B155 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#A7B155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B155
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B155#FFFFFF#000000##000000
##A7B1551.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA94C
Deuteranopia (green-blind)
#BBAB5A
Tritanopia (blue-blind)
#B0A89C
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a7b155;
/* rgb */ color: rgb(167, 177, 85);
/* oklch */ color: oklch(73.3% 0.117 114.5);
Tailwind
colors: {
  custom: {
    50: '#c3c887',
    500: '#a7b155',
    950: '#000000',
  },
}
SCSS
$custom: #a7b155;
$custom-light: #c3c887;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b155",
  "rgb": {
    "r": 167,
    "g": 177,
    "b": 85
  },
  "hsl": {
    "h": 66.522,
    "s": 37.097,
    "l": 51.373
  },
  "oklch": {
    "l": 0.73288,
    "c": 0.11736,
    "h": 114.5
  },
  "luminance": 0.40316
}

Semantic roles & 50–950 ramp

primary
#A7B155
secondary
#A19DC5
accent
#5BCD67
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #A7B155

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

Preview Lab → · Contrast checker → · Palette generator →

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