#9BAF2D#9BAF2D

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

Color values

HEX#9BAF2D
RGBrgb(155, 175, 45)
HSLhsl(69, 59%, 43%)
HSVhsv(69, 74%, 69%)
CMYKcmyk(11.4%, 0%, 74.3%, 31.4%)
CIE-LABlab(67.89, -23.73, 60.05)
CIE-LCHlch(67.89, 64.56, 111.57°)
OKLaboklab(71.5% -0.071 0.1328)
OKLCHoklch(71.5% 0.151 118.1)
XYZxyz(29.3219, 37.8182, 8.2371)
Luminance0.3782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAF2D #412DAF
analogous
#AF822D #9BAF2D #5AAF2D
triadic
#9BAF2D #2D9BAF #AF2D9B
tetradic
#9BAF2D #2DAF82 #412DAF #AF2D5A
square
#9BAF2D #2DAF82 #412DAF #AF2D5A
split-complementary
#9BAF2D #2D5AAF #822DAF
monochromatic
#454E14 #707E20 #9BAF2D #BBD049 #CDDD7A

Accessibility & contrast

On white

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

On black

8.56
#9BAF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAF2D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAF2D#FFFFFF#000000##000000
##9BAF2D1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9baf2d;
/* rgb */ color: rgb(155, 175, 45);
/* oklch */ color: oklch(71.5% 0.151 118.1);
Tailwind
colors: {
  custom: {
    50: '#bcc670',
    500: '#9baf2d',
    950: '#000000',
  },
}
SCSS
$custom: #9baf2d;
$custom-light: #bcc670;
$custom-dark: #000000;
JSON
{
  "hex": "#9baf2d",
  "rgb": {
    "r": 155,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 69.231,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71504,
    "c": 0.15062,
    "h": 118.1
  },
  "luminance": 0.37818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9BAF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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