#9AA262#9AA262

#9AA262 is a light, moderate yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.087 H 114.5°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#9AA262
RGBrgb(154, 162, 98)
HSLhsl(68, 26%, 51%)
HSVhsv(68, 40%, 64%)
CMYKcmyk(4.9%, 0%, 39.5%, 36.5%)
CIE-LABlab(64.64, -13.11, 32.32)
CIE-LCHlch(64.64, 34.88, 112.07°)
OKLaboklab(69.06% -0.036 0.079)
OKLCHoklch(69.06% 0.087 114.5)
XYZxyz(28.4516, 33.5929, 16.5381)
Luminance0.3359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AA262 #6A62A2
analogous
#A28A62 #9AA262 #7AA262
triadic
#9AA262 #629AA2 #A2629A
tetradic
#9AA262 #62A28A #6A62A2 #A2627A
square
#9AA262 #62A28A #6A62A2 #A2627A
split-complementary
#9AA262 #627AA2 #8A62A2
monochromatic
#525633 #767D4A #9AA262 #B3B988 #CBD0AF

Accessibility & contrast

On white

2.72
#9AA262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#9AA262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AA262
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AA262#FFFFFF#000000##000000
##9AA2621.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9C5D
Deuteranopia (green-blind)
#AA9D65
Tritanopia (blue-blind)
#A19B92
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9aa262;
/* rgb */ color: rgb(154, 162, 98);
/* oklch */ color: oklch(69.1% 0.087 114.5);
Tailwind
colors: {
  custom: {
    50: '#b9bd8f',
    500: '#9aa262',
    950: '#000000',
  },
}
SCSS
$custom: #9aa262;
$custom-light: #b9bd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#9aa262",
  "rgb": {
    "r": 154,
    "g": 162,
    "b": 98
  },
  "hsl": {
    "h": 67.5,
    "s": 25.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.69056,
    "c": 0.08679,
    "h": 114.5
  },
  "luminance": 0.33593
}

Semantic roles & 50–950 ramp

primary
#9AA262
secondary
#A5A2BE
accent
#66C271
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11120C
muted
#80817D

Preview Lab

Preview with #9AA262

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

Preview Lab → · Contrast checker → · Palette generator →

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