#A0B227#A0B227

#A0B227 is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.5% C 0.155 H 117.1°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#A0B227
RGBrgb(160, 178, 39)
HSLhsl(68, 64%, 43%)
HSVhsv(68, 78%, 70%)
CMYKcmyk(10.1%, 0%, 78.1%, 30.2%)
CIE-LABlab(69.08, -23.37, 63.23)
CIE-LCHlch(69.08, 67.41, 110.28°)
OKLaboklab(72.55% -0.0708 0.1384)
OKLCHoklch(72.55% 0.155 117.1)
XYZxyz(30.7846, 39.4612, 7.9141)
Luminance0.3946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B227 #3927B2
analogous
#B27F27 #A0B227 #5AB227
triadic
#A0B227 #27A0B2 #B227A0
tetradic
#A0B227 #27B27F #3927B2 #B2275A
square
#A0B227 #27B27F #3927B2 #B2275A
split-complementary
#A0B227 #275AB2 #7F27B2
monochromatic
#464E11 #73801C #A0B227 #C2D541 #D2E073

Accessibility & contrast

On white

2.36
#A0B227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#A0B227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0B227
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0B227#FFFFFF#000000##000000
##A0B2271.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BDA934
Tritanopia (blue-blind)
#AAA898
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a0b227;
/* rgb */ color: rgb(160, 178, 39);
/* oklch */ color: oklch(72.5% 0.155 117.1);
Tailwind
colors: {
  custom: {
    50: '#c0c86d',
    500: '#a0b227',
    950: '#000000',
  },
}
SCSS
$custom: #a0b227;
$custom-light: #c0c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b227",
  "rgb": {
    "r": 160,
    "g": 178,
    "b": 39
  },
  "hsl": {
    "h": 67.77,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.7255,
    "c": 0.15541,
    "h": 117.1
  },
  "luminance": 0.39461
}

Semantic roles & 50–950 ramp

primary
#A0B227
secondary
#796DC8
accent
#41E756
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A0B227

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

Preview Lab → · Contrast checker → · Palette generator →

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