#9BA92D#9BA92D

#9BA92D is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.1% C 0.144 H 115.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#9BA92D
RGBrgb(155, 169, 45)
HSLhsl(67, 58%, 42%)
HSVhsv(67, 73%, 66%)
CMYKcmyk(8.3%, 0%, 73.4%, 33.7%)
CIE-LABlab(66.16, -20.75, 58.40)
CIE-LCHlch(66.16, 61.97, 109.56°)
OKLaboklab(70.12% -0.0627 0.1294)
OKLCHoklch(70.12% 0.144 115.9)
XYZxyz(28.1799, 35.5344, 7.8564)
Luminance0.3553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA92D #3B2DA9
analogous
#A9792D #9BA92D #5DA92D
triadic
#9BA92D #2D9BA9 #A92D9B
tetradic
#9BA92D #2DA979 #3B2DA9 #A92D5D
square
#9BA92D #2DA979 #3B2DA9 #A92D5D
split-complementary
#9BA92D #2D5DA9 #792DA9
monochromatic
#424813 #6F7920 #9BA92D #BECE46 #CFDA76

Accessibility & contrast

On white

2.59
#9BA92D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#9BA92D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA92D
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA92D#FFFFFF#000000##000000
##9BA92D1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A014
Deuteranopia (green-blind)
#B4A237
Tritanopia (blue-blind)
#A59F91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ba92d;
/* rgb */ color: rgb(155, 169, 45);
/* oklch */ color: oklch(70.1% 0.144 115.9);
Tailwind
colors: {
  custom: {
    50: '#bcc26f',
    500: '#9ba92d',
    950: '#000000',
  },
}
SCSS
$custom: #9ba92d;
$custom-light: #bcc26f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba92d",
  "rgb": {
    "r": 155,
    "g": 169,
    "b": 45
  },
  "hsl": {
    "h": 66.774,
    "s": 57.944,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70119,
    "c": 0.14377,
    "h": 115.9
  },
  "luminance": 0.35534
}

Semantic roles & 50–950 ramp

primary
#9BA92D
secondary
#796FC2
accent
#47E158
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA92D

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

Preview Lab → · Contrast checker → · Palette generator →

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