#A0B41F#A0B41F

#A0B41F is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.0% C 0.161 H 117.7°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#A0B41F
RGBrgb(160, 180, 31)
HSLhsl(68, 71%, 41%)
HSVhsv(68, 83%, 71%)
CMYKcmyk(11.1%, 0%, 82.8%, 29.4%)
CIE-LABlab(69.62, -24.64, 65.93)
CIE-LCHlch(69.62, 70.38, 110.50°)
OKLaboklab(72.97% -0.0748 0.1427)
OKLCHoklch(72.97% 0.161 117.7)
XYZxyz(31.0666, 40.2154, 7.4218)
Luminance0.4022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B41F #331FB4
analogous
#B47E1F #A0B41F #56B41F
triadic
#A0B41F #1FA0B4 #B41FA0
tetradic
#A0B41F #1FB47E #331FB4 #B41F56
square
#A0B41F #1FB47E #331FB4 #B41F56
split-complementary
#A0B41F #1F56B4 #7E1FB4
monochromatic
#434C0D #728016 #A0B41F #C6DC34 #D4E568

Accessibility & contrast

On white

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

On black

9.04
#A0B41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0B41F
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0B41F#FFFFFF#000000##000000
##A0B41F1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BFAB2F
Tritanopia (blue-blind)
#AAA99A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a0b41f;
/* rgb */ color: rgb(160, 180, 31);
/* oklch */ color: oklch(73.0% 0.161 117.7);
Tailwind
colors: {
  custom: {
    50: '#c0ca6b',
    500: '#a0b41f',
    950: '#000000',
  },
}
SCSS
$custom: #a0b41f;
$custom-light: #c0ca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b41f",
  "rgb": {
    "r": 160,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 68.054,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72972,
    "c": 0.16118,
    "h": 117.7
  },
  "luminance": 0.40215
}

Semantic roles & 50–950 ramp

primary
#A0B41F
secondary
#7264CB
accent
#3AED52
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A0B41F

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

Preview Lab → · Contrast checker → · Palette generator →

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