#A8B142#A8B142

#A8B142 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.2% C 0.134 H 113.6°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#A8B142
RGBrgb(168, 177, 66)
HSLhsl(65, 46%, 48%)
HSVhsv(65, 63%, 69%)
CMYKcmyk(5.1%, 0%, 62.7%, 30.6%)
CIE-LABlab(69.59, -18.00, 53.92)
CIE-LCHlch(69.59, 56.85, 108.46°)
OKLaboklab(73.16% -0.0538 0.1229)
OKLCHoklch(73.16% 0.134 113.6)
XYZxyz(32.8548, 40.1631, 11.1747)
Luminance0.4016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B142 #4B42B1
analogous
#B18342 #A8B142 #70B142
triadic
#A8B142 #42A8B1 #B142A8
tetradic
#A8B142 #42B183 #4B42B1 #B14270
square
#A8B142 #42B183 #4B42B1 #B14270
split-complementary
#A8B142 #4270B1 #8342B1
monochromatic
#535821 #7E8431 #A8B142 #BFC769 #D2D896

Accessibility & contrast

On white

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

On black

9.03
#A8B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B142
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B142#FFFFFF#000000##000000
##A8B1421.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA934
Deuteranopia (green-blind)
#BDAB49
Tritanopia (blue-blind)
#B3A79A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8b142;
/* rgb */ color: rgb(168, 177, 66);
/* oklch */ color: oklch(73.2% 0.134 113.6);
Tailwind
colors: {
  custom: {
    50: '#c4c87c',
    500: '#a8b142',
    950: '#000000',
  },
}
SCSS
$custom: #a8b142;
$custom-light: #c4c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b142",
  "rgb": {
    "r": 168,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 64.865,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7316,
    "c": 0.13416,
    "h": 113.6
  },
  "luminance": 0.40162
}

Semantic roles & 50–950 ramp

primary
#A8B142
secondary
#908BC3
accent
#52D55D
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A8B142

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

Preview Lab → · Contrast checker → · Palette generator →

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