#A8B274#A8B274

#A8B274 is a light, moderate yellow. Relative luminance 0.414; OKLCH L 74.1% C 0.084 H 116.0°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#A8B274
RGBrgb(168, 178, 116)
HSLhsl(70, 29%, 58%)
HSVhsv(70, 35%, 70%)
CMYKcmyk(5.6%, 0%, 34.8%, 30.2%)
CIE-LABlab(70.47, -13.60, 30.57)
CIE-LCHlch(70.47, 33.46, 113.98°)
OKLaboklab(74.07% -0.0368 0.0756)
OKLCHoklch(74.07% 0.084 116)
XYZxyz(35.2213, 41.4269, 22.6603)
Luminance0.4143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B274 #7E74B2
analogous
#B29D74 #A8B274 #89B274
triadic
#A8B274 #74A8B2 #B274A8
tetradic
#A8B274 #74B29D #7E74B2 #B27489
square
#A8B274 #74B29D #7E74B2 #B27489
split-complementary
#A8B274 #7489B2 #9D74B2
monochromatic
#666E3D #8B9653 #A8B274 #C1C89B #D9DEC3

Accessibility & contrast

On white

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

On black

9.29
#A8B274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B274
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B274#FFFFFF#000000##000000
##A8B2741.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8b274;
/* rgb */ color: rgb(168, 178, 116);
/* oklch */ color: oklch(74.1% 0.084 116.0);
Tailwind
colors: {
  custom: {
    50: '#c2c99c',
    500: '#a8b274',
    950: '#000000',
  },
}
SCSS
$custom: #a8b274;
$custom-light: #c2c99c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b274",
  "rgb": {
    "r": 168,
    "g": 178,
    "b": 116
  },
  "hsl": {
    "h": 69.677,
    "s": 28.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.74067,
    "c": 0.08406,
    "h": 116
  },
  "luminance": 0.41427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8B274

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

Preview Lab → · Contrast checker → · Palette generator →

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