#A0B229#A0B229

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

Color values

HEX#A0B229
RGBrgb(160, 178, 41)
HSLhsl(68, 63%, 43%)
HSVhsv(68, 77%, 70%)
CMYKcmyk(10.1%, 0%, 77%, 30.2%)
CIE-LABlab(69.09, -23.28, 62.62)
CIE-LCHlch(69.09, 66.81, 110.39°)
OKLaboklab(72.56% -0.0704 0.1374)
OKLCHoklch(72.56% 0.154 117.1)
XYZxyz(30.8186, 39.4748, 8.0933)
Luminance0.3947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B229 #3B29B2
analogous
#B27F29 #A0B229 #5CB229
triadic
#A0B229 #29A0B2 #B229A0
tetradic
#A0B229 #29B27F #3B29B2 #B2295C
square
#A0B229 #29B27F #3B29B2 #B2295C
split-complementary
#A0B229 #295CB2 #7F29B2
monochromatic
#474F12 #73801E #A0B229 #C1D444 #D2DF76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0B229#FFFFFF#000000##000000
##A0B2291.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)
#BEA802
Deuteranopia (green-blind)
#BDA936
Tritanopia (blue-blind)
#AAA898
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a0b229;
/* rgb */ color: rgb(160, 178, 41);
/* oklch */ color: oklch(72.6% 0.154 117.1);
Tailwind
colors: {
  custom: {
    50: '#c0c86e',
    500: '#a0b229',
    950: '#000000',
  },
}
SCSS
$custom: #a0b229;
$custom-light: #c0c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b229",
  "rgb": {
    "r": 160,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 67.883,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72561,
    "c": 0.1544,
    "h": 117.1
  },
  "luminance": 0.39474
}

Semantic roles & 50–950 ramp

primary
#A0B229
secondary
#7B70C7
accent
#42E658
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A0B229

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

Preview Lab → · Contrast checker → · Palette generator →

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