#A0B138#A0B138

#A0B138 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.4% C 0.144 H 117.0°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#A0B138
RGBrgb(160, 177, 56)
HSLhsl(68, 52%, 46%)
HSVhsv(68, 68%, 69%)
CMYKcmyk(9.6%, 0%, 68.4%, 30.6%)
CIE-LABlab(68.90, -22.01, 57.12)
CIE-LCHlch(68.90, 61.22, 111.08°)
OKLaboklab(72.43% -0.0655 0.1284)
OKLCHoklch(72.43% 0.144 117)
XYZxyz(30.9338, 39.2038, 9.6781)
Luminance0.3920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B138 #4938B1
analogous
#B18538 #A0B138 #63B138
triadic
#A0B138 #38A0B1 #B138A0
tetradic
#A0B138 #38B185 #4938B1 #B13863
square
#A0B138 #38B185 #4938B1 #B13863
split-complementary
#A0B138 #3863B1 #8538B1
monochromatic
#4C541B #768329 #A0B138 #BBCB5B #CFDA8A

Accessibility & contrast

On white

2.38
#A0B138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#A0B138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0B138
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0B138#FFFFFF#000000##000000
##A0B1381.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA826
Deuteranopia (green-blind)
#BBA941
Tritanopia (blue-blind)
#AAA799
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a0b138;
/* rgb */ color: rgb(160, 177, 56);
/* oklch */ color: oklch(72.4% 0.144 117.0);
Tailwind
colors: {
  custom: {
    50: '#bfc876',
    500: '#a0b138',
    950: '#000000',
  },
}
SCSS
$custom: #a0b138;
$custom-light: #bfc876;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b138",
  "rgb": {
    "r": 160,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 68.43,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72433,
    "c": 0.14411,
    "h": 117
  },
  "luminance": 0.39203
}

Semantic roles & 50–950 ramp

primary
#A0B138
secondary
#8A81C4
accent
#4CDB61
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A0B138

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

Preview Lab → · Contrast checker → · Palette generator →

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