#9BA83E#9BA83E

#9BA83E is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.0% C 0.131 H 115.8°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#9BA83E
RGBrgb(155, 168, 62)
HSLhsl(67, 46%, 45%)
HSVhsv(67, 63%, 66%)
CMYKcmyk(7.7%, 0%, 63.1%, 34.1%)
CIE-LABlab(66.00, -19.21, 51.51)
CIE-LCHlch(66.00, 54.97, 110.45°)
OKLaboklab(70.03% -0.0568 0.1176)
OKLCHoklch(70.03% 0.131 115.8)
XYZxyz(28.3903, 35.3220, 9.8787)
Luminance0.3532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA83E #4B3EA8
analogous
#A8803E #9BA83E #66A83E
triadic
#9BA83E #3E9BA8 #A83E9B
tetradic
#9BA83E #3EA880 #4B3EA8 #A83E66
square
#9BA83E #3EA880 #4B3EA8 #A83E66
split-complementary
#9BA83E #3E66A8 #803EA8
monochromatic
#494F1D #727B2E #9BA83E #B8C45F #CCD58C

Accessibility & contrast

On white

2.60
#9BA83E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#9BA83E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA83E
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA83E#FFFFFF#000000##000000
##9BA83E1.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A031
Deuteranopia (green-blind)
#B2A145
Tritanopia (blue-blind)
#A49F92
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ba83e;
/* rgb */ color: rgb(155, 168, 62);
/* oklch */ color: oklch(70.0% 0.131 115.8);
Tailwind
colors: {
  custom: {
    50: '#bbc178',
    500: '#9ba83e',
    950: '#000000',
  },
}
SCSS
$custom: #9ba83e;
$custom-light: #bbc178;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba83e",
  "rgb": {
    "r": 155,
    "g": 168,
    "b": 62
  },
  "hsl": {
    "h": 67.358,
    "s": 46.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70027,
    "c": 0.13055,
    "h": 115.8
  },
  "luminance": 0.35322
}

Semantic roles & 50–950 ramp

primary
#9BA83E
secondary
#8A83BF
accent
#52D662
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9BA83E

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

Preview Lab → · Contrast checker → · Palette generator →

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