#9AA038#9AA038

#9AA038 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.1% C 0.126 H 112.5°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#9AA038
RGBrgb(154, 160, 56)
HSLhsl(63, 48%, 42%)
HSVhsv(63, 65%, 63%)
CMYKcmyk(3.8%, 0%, 65%, 37.3%)
CIE-LABlab(63.59, -15.95, 51.50)
CIE-LCHlch(63.59, 53.91, 107.21°)
OKLaboklab(68.06% -0.0482 0.1167)
OKLCHoklch(68.06% 0.126 112.5)
XYZxyz(26.6118, 32.2977, 8.5728)
Luminance0.3230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA038 #3E38A0
analogous
#A07238 #9AA038 #66A038
triadic
#9AA038 #389AA0 #A0389A
tetradic
#9AA038 #38A072 #3E38A0 #A03866
square
#9AA038 #38A072 #3E38A0 #A03866
split-complementary
#9AA038 #3866A0 #7238A0
monochromatic
#434518 #6E7328 #9AA038 #BCC353 #CED380

Accessibility & contrast

On white

2.82
#9AA038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#9AA038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA038
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA038#FFFFFF#000000##000000
##9AA0381.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC992A
Deuteranopia (green-blind)
#AC9B3F
Tritanopia (blue-blind)
#A4978B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9aa038;
/* rgb */ color: rgb(154, 160, 56);
/* oklch */ color: oklch(68.1% 0.126 112.5);
Tailwind
colors: {
  custom: {
    50: '#babb74',
    500: '#9aa038',
    950: '#000000',
  },
}
SCSS
$custom: #9aa038;
$custom-light: #babb74;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa038",
  "rgb": {
    "r": 154,
    "g": 160,
    "b": 56
  },
  "hsl": {
    "h": 63.462,
    "s": 48.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68061,
    "c": 0.12625,
    "h": 112.5
  },
  "luminance": 0.32297
}

Semantic roles & 50–950 ramp

primary
#9AA038
secondary
#7C78BC
accent
#50D858
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9AA038

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

Preview Lab → · Contrast checker → · Palette generator →

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