#9A9028#9A9028

#9A9028 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.3% C 0.121 H 103.7°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9A9028
RGBrgb(154, 144, 40)
HSLhsl(55, 59%, 38%)
HSVhsv(55, 74%, 60%)
CMYKcmyk(0%, 6.5%, 74%, 39.6%)
CIE-LABlab(58.95, -8.41, 53.26)
CIE-LCHlch(58.95, 53.92, 98.98°)
OKLaboklab(64.32% -0.0287 0.1176)
OKLCHoklch(64.32% 0.121 103.7)
XYZxyz(23.6837, 26.9707, 5.9654)
Luminance0.2697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9028 #28329A
analogous
#9A5728 #9A9028 #6B9A28
triadic
#9A9028 #289A90 #90289A
tetradic
#9A9028 #289A57 #28329A #9A286B
square
#9A9028 #289A57 #28329A #9A286B
split-complementary
#9A9028 #286B9A #57289A
monochromatic
#39350F #69631B #9A9028 #CABD35 #D7CD65

Accessibility & contrast

On white

3.28
#9A9028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#9A9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A9028
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9028#FFFFFF#000000##000000
##9A90281.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B15
Deuteranopia (green-blind)
#A0902F
Tritanopia (blue-blind)
#A6867C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9a9028;
/* rgb */ color: rgb(154, 144, 40);
/* oklch */ color: oklch(64.3% 0.121 103.7);
Tailwind
colors: {
  custom: {
    50: '#bbb06a',
    500: '#9a9028',
    950: '#000000',
  },
}
SCSS
$custom: #9a9028;
$custom-light: #bbb06a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9028",
  "rgb": {
    "r": 154,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 54.737,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64322,
    "c": 0.12107,
    "h": 103.7
  },
  "luminance": 0.2697
}

Semantic roles & 50–950 ramp

primary
#9A9028
secondary
#6169BD
accent
#54E246
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9A9028

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

Preview Lab → · Contrast checker → · Palette generator →

#9A9028 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva