#9BA034#9BA034

#9BA034 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.1% C 0.129 H 111.9°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#9BA034
RGBrgb(155, 160, 52)
HSLhsl(63, 51%, 42%)
HSVhsv(63, 68%, 63%)
CMYKcmyk(3.1%, 0%, 67.5%, 37.3%)
CIE-LABlab(63.64, -15.77, 53.24)
CIE-LCHlch(63.64, 55.52, 106.50°)
OKLaboklab(68.11% -0.0482 0.1197)
OKLCHoklch(68.11% 0.129 111.9)
XYZxyz(26.7090, 32.3587, 8.0870)
Luminance0.3236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA034 #3934A0
analogous
#A06F34 #9BA034 #65A034
triadic
#9BA034 #349BA0 #A0349B
tetradic
#9BA034 #34A06F #3934A0 #A03465
square
#9BA034 #34A06F #3934A0 #A03465
split-complementary
#9BA034 #3465A0 #6F34A0
monochromatic
#424416 #6E7225 #9BA034 #BFC54C #D0D47A

Accessibility & contrast

On white

2.81
#9BA034 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#9BA034 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA034
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA034#FFFFFF#000000##000000
##9BA0341.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9924
Deuteranopia (green-blind)
#AC9B3C
Tritanopia (blue-blind)
#A5968A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ba034;
/* rgb */ color: rgb(155, 160, 52);
/* oklch */ color: oklch(68.1% 0.129 111.9);
Tailwind
colors: {
  custom: {
    50: '#bbbb72',
    500: '#9ba034',
    950: '#000000',
  },
}
SCSS
$custom: #9ba034;
$custom-light: #bbbb72;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba034",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 52
  },
  "hsl": {
    "h": 62.778,
    "s": 50.943,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68111,
    "c": 0.12901,
    "h": 111.9
  },
  "luminance": 0.32358
}

Semantic roles & 50–950 ramp

primary
#9BA034
secondary
#7773BD
accent
#4DDA54
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9BA034

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

Preview Lab → · Contrast checker → · Palette generator →

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