#A0B42F#A0B42F

#A0B42F is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.1% C 0.153 H 117.9°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#A0B42F
RGBrgb(160, 180, 47)
HSLhsl(69, 59%, 45%)
HSVhsv(69, 74%, 71%)
CMYKcmyk(11.1%, 0%, 73.9%, 29.4%)
CIE-LABlab(69.70, -23.99, 61.22)
CIE-LCHlch(69.70, 65.75, 111.40°)
OKLaboklab(73.06% -0.0718 0.1355)
OKLCHoklch(73.06% 0.153 117.9)
XYZxyz(31.3323, 40.3216, 8.8210)
Luminance0.4032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B42F #432FB4
analogous
#B4862F #A0B42F #5DB42F
triadic
#A0B42F #2FA0B4 #B42FA0
tetradic
#A0B42F #2FB486 #432FB4 #B42F5D
square
#A0B42F #2FB486 #432FB4 #B42F5D
split-complementary
#A0B42F #2F5DB4 #862FB4
monochromatic
#4A5316 #758322 #A0B42F #BED14F #D0DE80

Accessibility & contrast

On white

2.32
#A0B42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#A0B42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0B42F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0B42F#FFFFFF#000000##000000
##A0B42F1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA13
Deuteranopia (green-blind)
#BEAB3A
Tritanopia (blue-blind)
#AAAA9B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a0b42f;
/* rgb */ color: rgb(160, 180, 47);
/* oklch */ color: oklch(73.1% 0.153 117.9);
Tailwind
colors: {
  custom: {
    50: '#bfca71',
    500: '#a0b42f',
    950: '#000000',
  },
}
SCSS
$custom: #a0b42f;
$custom-light: #bfca71;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b42f",
  "rgb": {
    "r": 160,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 69.023,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73057,
    "c": 0.15334,
    "h": 117.9
  },
  "luminance": 0.40321
}

Semantic roles & 50–950 ramp

primary
#A0B42F
secondary
#8478C7
accent
#46E25D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A0B42F

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

Preview Lab → · Contrast checker → · Palette generator →

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