#9BA262#9BA262

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

Color values

HEX#9BA262
RGBrgb(155, 162, 98)
HSLhsl(67, 26%, 51%)
HSVhsv(67, 40%, 64%)
CMYKcmyk(4.3%, 0%, 39.5%, 36.5%)
CIE-LABlab(64.72, -12.70, 32.44)
CIE-LCHlch(64.72, 34.83, 111.38°)
OKLaboklab(69.14% -0.0349 0.0792)
OKLCHoklch(69.14% 0.087 113.8)
XYZxyz(28.6427, 33.6914, 16.5471)
Luminance0.3369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA262 #6962A2
analogous
#A28962 #9BA262 #7BA262
triadic
#9BA262 #629BA2 #A2629B
tetradic
#9BA262 #62A289 #6962A2 #A2627B
square
#9BA262 #62A289 #6962A2 #A2627B
split-complementary
#9BA262 #627BA2 #8962A2
monochromatic
#535633 #777D4A #9BA262 #B3B988 #CCD0AF

Accessibility & contrast

On white

2.71
#9BA262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#9BA262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA262
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA262#FFFFFF#000000##000000
##9BA2621.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9C5D
Deuteranopia (green-blind)
#AA9E65
Tritanopia (blue-blind)
#A29B92
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ba262;
/* rgb */ color: rgb(155, 162, 98);
/* oklch */ color: oklch(69.1% 0.087 113.8);
Tailwind
colors: {
  custom: {
    50: '#b9bd8f',
    500: '#9ba262',
    950: '#000000',
  },
}
SCSS
$custom: #9ba262;
$custom-light: #b9bd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba262",
  "rgb": {
    "r": 155,
    "g": 162,
    "b": 98
  },
  "hsl": {
    "h": 66.563,
    "s": 25.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.69138,
    "c": 0.08657,
    "h": 113.8
  },
  "luminance": 0.33691
}

Semantic roles & 50–950 ramp

primary
#9BA262
secondary
#A5A2BE
accent
#66C270
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9BA262

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

Preview Lab → · Contrast checker → · Palette generator →

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