#A0B228#A0B228

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

Color values

HEX#A0B228
RGBrgb(160, 178, 40)
HSLhsl(68, 63%, 43%)
HSVhsv(68, 78%, 70%)
CMYKcmyk(10.1%, 0%, 77.5%, 30.2%)
CIE-LABlab(69.09, -23.33, 62.93)
CIE-LCHlch(69.09, 67.11, 110.34°)
OKLaboklab(72.56% -0.0706 0.1379)
OKLCHoklch(72.56% 0.155 117.1)
XYZxyz(30.8014, 39.4680, 8.0025)
Luminance0.3947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B228 #3A28B2
analogous
#B27F28 #A0B228 #5BB228
triadic
#A0B228 #28A0B2 #B228A0
tetradic
#A0B228 #28B27F #3A28B2 #B2285B
square
#A0B228 #28B27F #3A28B2 #B2285B
split-complementary
#A0B228 #285BB2 #7F28B2
monochromatic
#464E12 #73801D #A0B228 #C2D543 #D2E075

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0B228#FFFFFF#000000##000000
##A0B2281.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)
#BEA800
Deuteranopia (green-blind)
#BDA935
Tritanopia (blue-blind)
#AAA898
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a0b228;
/* rgb */ color: rgb(160, 178, 40);
/* oklch */ color: oklch(72.6% 0.155 117.1);
Tailwind
colors: {
  custom: {
    50: '#c0c86e',
    500: '#a0b228',
    950: '#000000',
  },
}
SCSS
$custom: #a0b228;
$custom-light: #c0c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b228",
  "rgb": {
    "r": 160,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 67.826,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.72555,
    "c": 0.1549,
    "h": 117.1
  },
  "luminance": 0.39468
}

Semantic roles & 50–950 ramp

primary
#A0B228
secondary
#7A6FC7
accent
#41E657
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A0B228

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

Preview Lab → · Contrast checker → · Palette generator →

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