#9BAC1E#9BAC1E

#9BAC1E is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.7% C 0.155 H 116.8°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#9BAC1E
RGBrgb(155, 172, 30)
HSLhsl(67, 70%, 40%)
HSVhsv(67, 83%, 67%)
CMYKcmyk(9.9%, 0%, 82.6%, 32.5%)
CIE-LABlab(66.95, -22.87, 63.73)
CIE-LCHlch(66.95, 67.71, 109.74°)
OKLaboklab(70.73% -0.0698 0.1381)
OKLCHoklch(70.73% 0.155 116.8)
XYZxyz(28.5052, 36.5677, 6.7847)
Luminance0.3657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAC1E #2F1EAC
analogous
#AC761E #9BAC1E #54AC1E
triadic
#9BAC1E #1E9BAC #AC1E9B
tetradic
#9BAC1E #1EAC76 #2F1EAC #AC1E54
square
#9BAC1E #1EAC76 #2F1EAC #AC1E54
split-complementary
#9BAC1E #1E54AC #761EAC
monochromatic
#3D440C #6C7815 #9BAC1E #C6DA2D #D4E361

Accessibility & contrast

On white

2.53
#9BAC1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#9BAC1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAC1E
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAC1E#FFFFFF#000000##000000
##9BAC1E1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B7A42D
Tritanopia (blue-blind)
#A5A293
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9bac1e;
/* rgb */ color: rgb(155, 172, 30);
/* oklch */ color: oklch(70.7% 0.155 116.8);
Tailwind
colors: {
  custom: {
    50: '#bcc469',
    500: '#9bac1e',
    950: '#000000',
  },
}
SCSS
$custom: #9bac1e;
$custom-light: #bcc469;
$custom-dark: #000000;
JSON
{
  "hex": "#9bac1e",
  "rgb": {
    "r": 155,
    "g": 172,
    "b": 30
  },
  "hsl": {
    "h": 67.183,
    "s": 70.297,
    "l": 39.608
  },
  "oklch": {
    "l": 0.7073,
    "c": 0.15469,
    "h": 116.8
  },
  "luminance": 0.36567
}

Semantic roles & 50–950 ramp

primary
#9BAC1E
secondary
#6A5EC8
accent
#3BED50
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BAC1E

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

Preview Lab → · Contrast checker → · Palette generator →

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