#9BA53D#9BA53D

#9BA53D is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.3% C 0.128 H 114.4°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#9BA53D
RGBrgb(155, 165, 61)
HSLhsl(66, 46%, 44%)
HSVhsv(66, 63%, 65%)
CMYKcmyk(6.1%, 0%, 63%, 35.3%)
CIE-LABlab(65.13, -17.75, 51.02)
CIE-LCHlch(65.13, 54.02, 109.19°)
OKLaboklab(69.33% -0.0528 0.1164)
OKLCHoklch(69.33% 0.128 114.4)
XYZxyz(27.8157, 34.2162, 9.5531)
Luminance0.3422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA53D #473DA5
analogous
#A57B3D #9BA53D #67A53D
triadic
#9BA53D #3D9BA5 #A53D9B
tetradic
#9BA53D #3DA57B #473DA5 #A53D67
square
#9BA53D #3DA57B #473DA5 #A53D67
split-complementary
#9BA53D #3D67A5 #7B3DA5
monochromatic
#474C1C #71782C #9BA53D #B9C35C #CCD389

Accessibility & contrast

On white

2.68
#9BA53D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#9BA53D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA53D
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA53D#FFFFFF#000000##000000
##9BA53D1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D30
Deuteranopia (green-blind)
#B09F44
Tritanopia (blue-blind)
#A59C8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ba53d;
/* rgb */ color: rgb(155, 165, 61);
/* oklch */ color: oklch(69.3% 0.128 114.4);
Tailwind
colors: {
  custom: {
    50: '#bbbf77',
    500: '#9ba53d',
    950: '#000000',
  },
}
SCSS
$custom: #9ba53d;
$custom-light: #bbbf77;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba53d",
  "rgb": {
    "r": 155,
    "g": 165,
    "b": 61
  },
  "hsl": {
    "h": 65.769,
    "s": 46.018,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69331,
    "c": 0.1278,
    "h": 114.4
  },
  "luminance": 0.34216
}

Semantic roles & 50–950 ramp

primary
#9BA53D
secondary
#8680BE
accent
#52D65F
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9BA53D

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

Preview Lab → · Contrast checker → · Palette generator →

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