#A8B273#A8B273

#A8B273 is a light, moderate yellow. Relative luminance 0.414; OKLCH L 74.0% C 0.085 H 115.9°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#A8B273
RGBrgb(168, 178, 115)
HSLhsl(70, 29%, 57%)
HSVhsv(70, 35%, 70%)
CMYKcmyk(5.6%, 0%, 35.4%, 30.2%)
CIE-LABlab(70.46, -13.72, 31.08)
CIE-LCHlch(70.46, 33.97, 113.83°)
OKLaboklab(74.05% -0.0372 0.0767)
OKLCHoklch(74.05% 0.085 115.9)
XYZxyz(35.1634, 41.4037, 22.3556)
Luminance0.4140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B273 #7D73B2
analogous
#B29D73 #A8B273 #88B273
triadic
#A8B273 #73A8B2 #B273A8
tetradic
#A8B273 #73B29D #7D73B2 #B27388
square
#A8B273 #73B29D #7D73B2 #B27388
split-complementary
#A8B273 #7388B2 #9D73B2
monochromatic
#666E3D #8B9652 #A8B273 #C1C89A #D9DDC2

Accessibility & contrast

On white

2.26
#A8B273 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#A8B273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B273
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B273#FFFFFF#000000##000000
##A8B2731.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAC6E
Deuteranopia (green-blind)
#B9AD76
Tritanopia (blue-blind)
#AFABA2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8b273;
/* rgb */ color: rgb(168, 178, 115);
/* oklch */ color: oklch(74.0% 0.085 115.9);
Tailwind
colors: {
  custom: {
    50: '#c2c99c',
    500: '#a8b273',
    950: '#000000',
  },
}
SCSS
$custom: #a8b273;
$custom-light: #c2c99c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b273",
  "rgb": {
    "r": 168,
    "g": 178,
    "b": 115
  },
  "hsl": {
    "h": 69.524,
    "s": 29.032,
    "l": 57.451
  },
  "oklch": {
    "l": 0.74049,
    "c": 0.08527,
    "h": 115.9
  },
  "luminance": 0.41403
}

Semantic roles & 50–950 ramp

primary
#A8B273
secondary
#B8B4CD
accent
#62C572
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #A8B273

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

Preview Lab → · Contrast checker → · Palette generator →

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