#A0B126#A0B126

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

Color values

HEX#A0B126
RGBrgb(160, 177, 38)
HSLhsl(67, 65%, 42%)
HSVhsv(67, 79%, 69%)
CMYKcmyk(9.6%, 0%, 78.5%, 30.6%)
CIE-LABlab(68.79, -22.91, 63.27)
CIE-LCHlch(68.79, 67.29, 109.91°)
OKLaboklab(72.32% -0.0696 0.1383)
OKLCHoklch(72.32% 0.155 116.7)
XYZxyz(30.5700, 39.0582, 7.7619)
Luminance0.3906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B126 #3726B1
analogous
#B17D26 #A0B126 #5BB126
triadic
#A0B126 #26A0B1 #B126A0
tetradic
#A0B126 #26B17D #3726B1 #B1265B
square
#A0B126 #26B17D #3726B1 #B1265B
split-complementary
#A0B126 #265BB1 #7D26B1
monochromatic
#454C10 #727F1B #A0B126 #C3D63F #D3E071

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0B126#FFFFFF#000000##000000
##A0B1261.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)
#BCA933
Tritanopia (blue-blind)
#AAA797
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a0b126;
/* rgb */ color: rgb(160, 177, 38);
/* oklch */ color: oklch(72.3% 0.155 116.7);
Tailwind
colors: {
  custom: {
    50: '#c0c86d',
    500: '#a0b126',
    950: '#000000',
  },
}
SCSS
$custom: #a0b126;
$custom-light: #c0c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b126",
  "rgb": {
    "r": 160,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 67.338,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72315,
    "c": 0.15479,
    "h": 116.7
  },
  "luminance": 0.39058
}

Semantic roles & 50–950 ramp

primary
#A0B126
secondary
#776BC7
accent
#40E855
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A0B126

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

Preview Lab → · Contrast checker → · Palette generator →

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