#A0B122#A0B122

#A0B122 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.3% C 0.157 H 116.7°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#A0B122
RGBrgb(160, 177, 34)
HSLhsl(67, 68%, 41%)
HSVhsv(67, 81%, 69%)
CMYKcmyk(9.6%, 0%, 80.8%, 30.6%)
CIE-LABlab(68.78, -23.07, 64.40)
CIE-LCHlch(68.78, 68.41, 109.71°)
OKLaboklab(72.3% -0.0703 0.14)
OKLCHoklch(72.3% 0.157 116.7)
XYZxyz(30.5089, 39.0338, 7.4401)
Luminance0.3903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B122 #3322B1
analogous
#B17B22 #A0B122 #59B122
triadic
#A0B122 #22A0B1 #B122A0
tetradic
#A0B122 #22B17B #3322B1 #B12259
square
#A0B122 #22B17B #3322B1 #B12259
split-complementary
#A0B122 #2259B1 #7B22B1
monochromatic
#434A0E #727E18 #A0B122 #C6D938 #D4E36B

Accessibility & contrast

On white

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

On black

8.81
#A0B122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0B122
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0B122#FFFFFF#000000##000000
##A0B1221.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BCA931
Tritanopia (blue-blind)
#ABA797
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a0b122;
/* rgb */ color: rgb(160, 177, 34);
/* oklch */ color: oklch(72.3% 0.157 116.7);
Tailwind
colors: {
  custom: {
    50: '#c0c86b',
    500: '#a0b122',
    950: '#000000',
  },
}
SCSS
$custom: #a0b122;
$custom-light: #c0c86b;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b122",
  "rgb": {
    "r": 160,
    "g": 177,
    "b": 34
  },
  "hsl": {
    "h": 67.133,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72295,
    "c": 0.15665,
    "h": 116.7
  },
  "luminance": 0.39033
}

Semantic roles & 50–950 ramp

primary
#A0B122
secondary
#7266C9
accent
#3DEB52
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A0B122

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

Preview Lab → · Contrast checker → · Palette generator →

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