#A0B142#A0B142

#A0B142 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.5% C 0.137 H 117.3°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#A0B142
RGBrgb(160, 177, 66)
HSLhsl(69, 46%, 48%)
HSVhsv(69, 63%, 69%)
CMYKcmyk(9.6%, 0%, 62.7%, 30.6%)
CIE-LABlab(68.98, -21.35, 53.09)
CIE-LCHlch(68.98, 57.22, 111.91°)
OKLaboklab(72.52% -0.0627 0.1213)
OKLCHoklch(72.52% 0.137 117.3)
XYZxyz(31.2033, 39.3115, 11.0973)
Luminance0.3931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B142 #5342B1
analogous
#B18A42 #A0B142 #69B142
triadic
#A0B142 #42A0B1 #B142A0
tetradic
#A0B142 #42B18A #5342B1 #B14269
square
#A0B142 #42B18A #5342B1 #B14269
split-complementary
#A0B142 #4269B1 #8A42B1
monochromatic
#4F5821 #788431 #A0B142 #B9C769 #CED896

Accessibility & contrast

On white

2.37
#A0B142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#A0B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0B142
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0B142#FFFFFF#000000##000000
##A0B1421.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA834
Deuteranopia (green-blind)
#BBA949
Tritanopia (blue-blind)
#A9A89A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a0b142;
/* rgb */ color: rgb(160, 177, 66);
/* oklch */ color: oklch(72.5% 0.137 117.3);
Tailwind
colors: {
  custom: {
    50: '#bfc87b',
    500: '#a0b142',
    950: '#000000',
  },
}
SCSS
$custom: #a0b142;
$custom-light: #bfc87b;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b142",
  "rgb": {
    "r": 160,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 69.189,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7252,
    "c": 0.13658,
    "h": 117.3
  },
  "luminance": 0.39311
}

Semantic roles & 50–950 ramp

primary
#A0B142
secondary
#948BC3
accent
#52D566
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #A0B142

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

Preview Lab → · Contrast checker → · Palette generator →

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