#A0B338#A0B338

#A0B338 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 72.9% C 0.146 H 117.8°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#A0B338
RGBrgb(160, 179, 56)
HSLhsl(69, 52%, 46%)
HSVhsv(69, 69%, 70%)
CMYKcmyk(10.6%, 0%, 68.7%, 29.8%)
CIE-LABlab(69.47, -23.00, 57.70)
CIE-LCHlch(69.47, 62.12, 111.74°)
OKLaboklab(72.89% -0.0683 0.1296)
OKLCHoklch(72.89% 0.146 117.8)
XYZxyz(31.3318, 39.9996, 9.8108)
Luminance0.4000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B338 #4B38B3
analogous
#B38838 #A0B338 #62B338
triadic
#A0B338 #38A0B3 #B338A0
tetradic
#A0B338 #38B388 #4B38B3 #B33862
square
#A0B338 #38B388 #4B38B3 #B33862
split-complementary
#A0B338 #3862B3 #8838B3
monochromatic
#4D561B #768429 #A0B338 #BBCC5C #CEDB8B

Accessibility & contrast

On white

2.33
#A0B338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#A0B338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0B338
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0B338#FFFFFF#000000##000000
##A0B3381.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a0b338;
/* rgb */ color: rgb(160, 179, 56);
/* oklch */ color: oklch(72.9% 0.146 117.8);
Tailwind
colors: {
  custom: {
    50: '#bfc976',
    500: '#a0b338',
    950: '#000000',
  },
}
SCSS
$custom: #a0b338;
$custom-light: #bfc976;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b338",
  "rgb": {
    "r": 160,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 69.268,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72891,
    "c": 0.14646,
    "h": 117.8
  },
  "luminance": 0.39999
}

Semantic roles & 50–950 ramp

primary
#A0B338
secondary
#8C82C5
accent
#4CDC62
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A0B338

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

Preview Lab → · Contrast checker → · Palette generator →

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