#9BAF2E#9BAF2E

#9BAF2E is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.5% C 0.150 H 118.2°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#9BAF2E
RGBrgb(155, 175, 46)
HSLhsl(69, 58%, 43%)
HSVhsv(69, 74%, 69%)
CMYKcmyk(11.4%, 0%, 73.7%, 31.4%)
CIE-LABlab(67.89, -23.68, 59.71)
CIE-LCHlch(67.89, 64.23, 111.64°)
OKLaboklab(71.51% -0.0708 0.1323)
OKLCHoklch(71.51% 0.15 118.2)
XYZxyz(29.3413, 37.8260, 8.3397)
Luminance0.3783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAF2E #422EAF
analogous
#AF822E #9BAF2E #5BAF2E
triadic
#9BAF2E #2E9BAF #AF2E9B
tetradic
#9BAF2E #2EAF82 #422EAF #AF2E5B
square
#9BAF2E #2EAF82 #422EAF #AF2E5B
split-complementary
#9BAF2E #2E5BAF #822EAF
monochromatic
#454E15 #707F21 #9BAF2E #BBD04B #CDDC7B

Accessibility & contrast

On white

2.45
#9BAF2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#9BAF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAF2E
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAF2E#FFFFFF#000000##000000
##9BAF2E1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA514
Deuteranopia (green-blind)
#B9A639
Tritanopia (blue-blind)
#A5A596
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9baf2e;
/* rgb */ color: rgb(155, 175, 46);
/* oklch */ color: oklch(71.5% 0.150 118.2);
Tailwind
colors: {
  custom: {
    50: '#bcc670',
    500: '#9baf2e',
    950: '#000000',
  },
}
SCSS
$custom: #9baf2e;
$custom-light: #bcc670;
$custom-dark: #000000;
JSON
{
  "hex": "#9baf2e",
  "rgb": {
    "r": 155,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 69.302,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71511,
    "c": 0.15003,
    "h": 118.2
  },
  "luminance": 0.37826
}

Semantic roles & 50–950 ramp

primary
#9BAF2E
secondary
#8174C5
accent
#46E25E
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9BAF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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