#9BA335#9BA335

#9BA335 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.8% C 0.132 H 113.4°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9BA335
RGBrgb(155, 163, 53)
HSLhsl(64, 51%, 42%)
HSVhsv(64, 67%, 64%)
CMYKcmyk(4.9%, 0%, 67.5%, 36.1%)
CIE-LABlab(64.50, -17.25, 53.71)
CIE-LCHlch(64.50, 56.42, 107.81°)
OKLaboklab(68.8% -0.0523 0.1208)
OKLCHoklch(68.8% 0.132 113.4)
XYZxyz(27.2581, 33.4205, 8.3824)
Luminance0.3342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA335 #3D35A3
analogous
#A37435 #9BA335 #64A335
triadic
#9BA335 #359BA3 #A3359B
tetradic
#9BA335 #35A374 #3D35A3 #A33564
square
#9BA335 #35A374 #3D35A3 #A33564
split-complementary
#9BA335 #3564A3 #7435A3
monochromatic
#434717 #6F7526 #9BA335 #BDC64F #CFD57E

Accessibility & contrast

On white

2.73
#9BA335 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#9BA335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA335
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA335#FFFFFF#000000##000000
##9BA3351.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B25
Deuteranopia (green-blind)
#AF9E3D
Tritanopia (blue-blind)
#A5998D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ba335;
/* rgb */ color: rgb(155, 163, 53);
/* oklch */ color: oklch(68.8% 0.132 113.4);
Tailwind
colors: {
  custom: {
    50: '#bbbe73',
    500: '#9ba335',
    950: '#000000',
  },
}
SCSS
$custom: #9ba335;
$custom-light: #bbbe73;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba335",
  "rgb": {
    "r": 155,
    "g": 163,
    "b": 53
  },
  "hsl": {
    "h": 64.364,
    "s": 50.926,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68803,
    "c": 0.13165,
    "h": 113.4
  },
  "luminance": 0.3342
}

Semantic roles & 50–950 ramp

primary
#9BA335
secondary
#7B76BE
accent
#4DDA58
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA335

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

Preview Lab → · Contrast checker → · Palette generator →

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