#A8B174#A8B174

#A8B174 is a light, moderate yellow. Relative luminance 0.410; OKLCH L 73.8% C 0.083 H 115.3°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#A8B174
RGBrgb(168, 177, 116)
HSLhsl(69, 28%, 57%)
HSVhsv(69, 34%, 69%)
CMYKcmyk(5.1%, 0%, 34.5%, 30.6%)
CIE-LABlab(70.20, -13.08, 30.21)
CIE-LCHlch(70.20, 32.92, 113.41°)
OKLaboklab(73.85% -0.0353 0.0747)
OKLCHoklch(73.85% 0.083 115.3)
XYZxyz(35.0230, 41.0304, 22.5942)
Luminance0.4103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B174 #7D74B1
analogous
#B19B74 #A8B174 #8AB174
triadic
#A8B174 #74A8B1 #B174A8
tetradic
#A8B174 #74B19B #7D74B1 #B1748A
square
#A8B174 #74B19B #7D74B1 #B1748A
split-complementary
#A8B174 #748AB1 #9B74B1
monochromatic
#666D3D #8B9453 #A8B174 #C1C79B #D9DDC2

Accessibility & contrast

On white

2.28
#A8B174 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#A8B174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B174
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B174#FFFFFF#000000##000000
##A8B1741.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AB70
Deuteranopia (green-blind)
#B9AC77
Tritanopia (blue-blind)
#AFAAA2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8b174;
/* rgb */ color: rgb(168, 177, 116);
/* oklch */ color: oklch(73.8% 0.083 115.3);
Tailwind
colors: {
  custom: {
    50: '#c2c89c',
    500: '#a8b174',
    950: '#000000',
  },
}
SCSS
$custom: #a8b174;
$custom-light: #c2c89c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b174",
  "rgb": {
    "r": 168,
    "g": 177,
    "b": 116
  },
  "hsl": {
    "h": 68.852,
    "s": 28.111,
    "l": 57.451
  },
  "oklch": {
    "l": 0.73847,
    "c": 0.08267,
    "h": 115.3
  },
  "luminance": 0.4103
}

Semantic roles & 50–950 ramp

primary
#A8B174
secondary
#B8B4CD
accent
#63C472
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #A8B174

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

Preview Lab → · Contrast checker → · Palette generator →

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