#A0B628#A0B628

#A0B628 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.5% C 0.159 H 118.5°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#A0B628
RGBrgb(160, 182, 40)
HSLhsl(69, 64%, 44%)
HSVhsv(69, 78%, 71%)
CMYKcmyk(12.1%, 0%, 78%, 28.6%)
CIE-LABlab(70.23, -25.29, 63.97)
CIE-LCHlch(70.23, 68.79, 111.57°)
OKLaboklab(73.48% -0.076 0.1401)
OKLCHoklch(73.48% 0.159 118.5)
XYZxyz(31.6089, 41.0830, 8.2717)
Luminance0.4108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B628 #3E28B6
analogous
#B68528 #A0B628 #59B628
triadic
#A0B628 #28A0B6 #B628A0
tetradic
#A0B628 #28B685 #3E28B6 #B62859
square
#A0B628 #28B685 #3E28B6 #B62859
split-complementary
#A0B628 #2859B6 #8528B6
monochromatic
#485212 #74841D #A0B628 #C0D645 #D1E177

Accessibility & contrast

On white

2.28
#A0B628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#A0B628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0B628
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0B628#FFFFFF#000000##000000
##A0B6281.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC00
Deuteranopia (green-blind)
#C0AC36
Tritanopia (blue-blind)
#AAAC9C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a0b628;
/* rgb */ color: rgb(160, 182, 40);
/* oklch */ color: oklch(73.5% 0.159 118.5);
Tailwind
colors: {
  custom: {
    50: '#c0cb6e',
    500: '#a0b628',
    950: '#000000',
  },
}
SCSS
$custom: #a0b628;
$custom-light: #c0cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b628",
  "rgb": {
    "r": 160,
    "g": 182,
    "b": 40
  },
  "hsl": {
    "h": 69.296,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73477,
    "c": 0.15939,
    "h": 118.5
  },
  "luminance": 0.41083
}

Semantic roles & 50–950 ramp

primary
#A0B628
secondary
#7F71C9
accent
#41E75B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A0B628

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

Preview Lab → · Contrast checker → · Palette generator →

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