#9FBA2D#9FBA2D

#9FBA2D is a light, vivid yellow-green. Relative luminance 0.427; OKLCH L 74.4% C 0.162 H 120.2°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#9FBA2D
RGBrgb(159, 186, 45)
HSLhsl(71, 61%, 45%)
HSVhsv(71, 76%, 73%)
CMYKcmyk(14.5%, 0%, 75.8%, 27.1%)
CIE-LABlab(71.34, -27.42, 63.40)
CIE-LCHlch(71.34, 69.08, 113.38°)
OKLaboklab(74.36% -0.0814 0.1398)
OKLCHoklch(74.36% 0.162 120.2)
XYZxyz(32.3313, 42.6783, 9.0166)
Luminance0.4268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FBA2D #482DBA
analogous
#BA8E2D #9FBA2D #59BA2D
triadic
#9FBA2D #2D9FBA #BA2D9F
tetradic
#9FBA2D #2DBA8E #482DBA #BA2D59
square
#9FBA2D #2DBA8E #482DBA #BA2D59
split-complementary
#9FBA2D #2D59BA #8E2DBA
monochromatic
#4B5715 #758921 #9FBA2D #BBD550 #CEE081

Accessibility & contrast

On white

2.20
#9FBA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#9FBA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FBA2D
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FBA2D#FFFFFF#000000##000000
##9FBA2D1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF09
Deuteranopia (green-blind)
#C3AF3A
Tritanopia (blue-blind)
#A8B09F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #9fba2d;
/* rgb */ color: rgb(159, 186, 45);
/* oklch */ color: oklch(74.4% 0.162 120.2);
Tailwind
colors: {
  custom: {
    50: '#bfce71',
    500: '#9fba2d',
    950: '#000000',
  },
}
SCSS
$custom: #9fba2d;
$custom-light: #bfce71;
$custom-dark: #000000;
JSON
{
  "hex": "#9fba2d",
  "rgb": {
    "r": 159,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 71.489,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74355,
    "c": 0.16176,
    "h": 120.2
  },
  "luminance": 0.42678
}

Semantic roles & 50–950 ramp

primary
#9FBA2D
secondary
#8979C9
accent
#44E462
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FBA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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