Mustard Green#A8B504

#A8B504 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 73.8% C 0.166 H 114.9°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Mustard Green — editorial page

Color values

HEX#A8B504
RGBrgb(168, 181, 4)
HSLhsl(64, 96%, 36%)
HSVhsv(64, 98%, 71%)
CMYKcmyk(7.2%, 0%, 97.8%, 29%)
CIE-LABlab(70.44, -22.26, 71.36)
CIE-LCHlch(70.44, 74.75, 107.33°)
OKLaboklab(73.76% -0.0699 0.1508)
OKLCHoklch(73.76% 0.166 114.9)
XYZxyz(32.6953, 41.3820, 6.3800)
Luminance0.4138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B504 #1104B5
analogous
#B56A04 #A8B504 #50B504
triadic
#A8B504 #04A8B5 #B504A8
tetradic
#A8B504 #04B56A #1104B5 #B50450
square
#A8B504 #04B56A #1104B5 #B50450
split-complementary
#A8B504 #0450B5 #6A04B5
monochromatic
#393D01 #707903 #A8B504 #E0F105 #ECFB39

Accessibility & contrast

On white

2.26
#A8B504 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#A8B504 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B504
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B504#FFFFFF#000000##000000
##A8B5041.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AB00
Deuteranopia (green-blind)
#C2AD22
Tritanopia (blue-blind)
#B4AA9A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8b504;
/* rgb */ color: rgb(168, 181, 4);
/* oklch */ color: oklch(73.8% 0.166 114.9);
Tailwind
colors: {
  custom: {
    50: '#c6cb64',
    500: '#a8b504',
    950: '#000000',
  },
}
SCSS
$custom: #a8b504;
$custom-light: #c6cb64;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b504",
  "rgb": {
    "r": 168,
    "g": 181,
    "b": 4
  },
  "hsl": {
    "h": 64.407,
    "s": 95.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.73761,
    "c": 0.16623,
    "h": 114.9
  },
  "luminance": 0.41381
}

Semantic roles & 50–950 ramp

primary
#A8B504
secondary
#483CD8
accent
#29FF39
background
#FCFCF6
surface
#F9F8EB
border
#D2D1C6
text
#141307
muted
#82827A

Preview Lab

Preview with #A8B504

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

Preview Lab → · Contrast checker → · Palette generator →

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