#9BA033#9BA033

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

Color values

HEX#9BA033
RGBrgb(155, 160, 51)
HSLhsl(63, 52%, 41%)
HSVhsv(63, 68%, 63%)
CMYKcmyk(3.1%, 0%, 68.1%, 37.3%)
CIE-LABlab(63.63, -15.83, 53.63)
CIE-LCHlch(63.63, 55.92, 106.44°)
OKLaboklab(68.1% -0.0485 0.1203)
OKLCHoklch(68.1% 0.13 111.9)
XYZxyz(26.6867, 32.3498, 7.9697)
Luminance0.3235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA033 #3833A0
analogous
#A06F33 #9BA033 #65A033
triadic
#9BA033 #339BA0 #A0339B
tetradic
#9BA033 #33A06F #3833A0 #A03365
square
#9BA033 #33A06F #3833A0 #A03365
split-complementary
#9BA033 #3365A0 #6F33A0
monochromatic
#414315 #6E7224 #9BA033 #C0C64B #D0D479

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA033#FFFFFF#000000##000000
##9BA0331.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)
#AC9923
Deuteranopia (green-blind)
#AD9B3B
Tritanopia (blue-blind)
#A5968A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ba033;
/* rgb */ color: rgb(155, 160, 51);
/* oklch */ color: oklch(68.1% 0.130 111.9);
Tailwind
colors: {
  custom: {
    50: '#bbbb71',
    500: '#9ba033',
    950: '#000000',
  },
}
SCSS
$custom: #9ba033;
$custom-light: #bbbb71;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba033",
  "rgb": {
    "r": 155,
    "g": 160,
    "b": 51
  },
  "hsl": {
    "h": 62.752,
    "s": 51.659,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68103,
    "c": 0.12973,
    "h": 111.9
  },
  "luminance": 0.32349
}

Semantic roles & 50–950 ramp

primary
#9BA033
secondary
#7572BD
accent
#4DDB53
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #9BA033

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

Preview Lab → · Contrast checker → · Palette generator →

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