#A0B728#A0B728

#A0B728 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.7% C 0.161 H 118.8°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#A0B728
RGBrgb(160, 183, 40)
HSLhsl(70, 64%, 44%)
HSVhsv(70, 78%, 72%)
CMYKcmyk(12.6%, 0%, 78.1%, 28.2%)
CIE-LABlab(70.52, -25.77, 64.24)
CIE-LCHlch(70.52, 69.21, 111.86°)
OKLaboklab(73.71% -0.0773 0.1407)
OKLCHoklch(73.71% 0.161 118.8)
XYZxyz(31.8144, 41.4940, 8.3402)
Luminance0.4149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B728 #3F28B7
analogous
#B78628 #A0B728 #58B728
triadic
#A0B728 #28A0B7 #B728A0
tetradic
#A0B728 #28B786 #3F28B7 #B72858
square
#A0B728 #28B786 #3F28B7 #B72858
split-complementary
#A0B728 #2858B7 #8628B7
monochromatic
#485312 #74851D #A0B728 #BFD646 #D0E178

Accessibility & contrast

On white

2.26
#A0B728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#A0B728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0B728
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0B728#FFFFFF#000000##000000
##A0B7281.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#AAAD9D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a0b728;
/* rgb */ color: rgb(160, 183, 40);
/* oklch */ color: oklch(73.7% 0.161 118.8);
Tailwind
colors: {
  custom: {
    50: '#c0cc6f',
    500: '#a0b728',
    950: '#000000',
  },
}
SCSS
$custom: #a0b728;
$custom-light: #c0cc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b728",
  "rgb": {
    "r": 160,
    "g": 183,
    "b": 40
  },
  "hsl": {
    "h": 69.65,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73708,
    "c": 0.16052,
    "h": 118.8
  },
  "luminance": 0.41494
}

Semantic roles & 50–950 ramp

primary
#A0B728
secondary
#8072C9
accent
#41E75B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A0B728

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

Preview Lab → · Contrast checker → · Palette generator →

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