#A0B040#A0B040

#A0B040 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.3% C 0.137 H 116.9°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#A0B040
RGBrgb(160, 176, 64)
HSLhsl(69, 47%, 47%)
HSVhsv(69, 64%, 69%)
CMYKcmyk(9.1%, 0%, 63.6%, 31%)
CIE-LABlab(68.67, -21.00, 53.62)
CIE-LCHlch(68.67, 57.59, 111.38°)
OKLaboklab(72.27% -0.0619 0.1222)
OKLCHoklch(72.27% 0.137 116.9)
XYZxyz(30.9486, 38.8948, 10.7266)
Luminance0.3889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B040 #5040B0
analogous
#B08840 #A0B040 #68B040
triadic
#A0B040 #40A0B0 #B040A0
tetradic
#A0B040 #40B088 #5040B0 #B04068
square
#A0B040 #40B088 #5040B0 #B04068
split-complementary
#A0B040 #4068B0 #8840B0
monochromatic
#4E561F #778330 #A0B040 #B9C766 #CED893

Accessibility & contrast

On white

2.39
#A0B040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#A0B040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0B040
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0B040#FFFFFF#000000##000000
##A0B0401.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA732
Deuteranopia (green-blind)
#BAA848
Tritanopia (blue-blind)
#A9A799
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a0b040;
/* rgb */ color: rgb(160, 176, 64);
/* oklch */ color: oklch(72.3% 0.137 116.9);
Tailwind
colors: {
  custom: {
    50: '#bfc77a',
    500: '#a0b040',
    950: '#000000',
  },
}
SCSS
$custom: #a0b040;
$custom-light: #bfc77a;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b040",
  "rgb": {
    "r": 160,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 68.571,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72273,
    "c": 0.13697,
    "h": 116.9
  },
  "luminance": 0.38894
}

Semantic roles & 50–950 ramp

primary
#A0B040
secondary
#9189C3
accent
#51D664
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #A0B040

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

Preview Lab → · Contrast checker → · Palette generator →

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