#9BA237#9BA237

#9BA237 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.6% C 0.129 H 112.9°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9BA237
RGBrgb(155, 162, 55)
HSLhsl(64, 49%, 43%)
HSVhsv(64, 66%, 64%)
CMYKcmyk(4.3%, 0%, 66%, 36.5%)
CIE-LABlab(64.23, -16.62, 52.61)
CIE-LCHlch(64.23, 55.18, 107.53°)
OKLaboklab(68.59% -0.0503 0.1188)
OKLCHoklch(68.59% 0.129 112.9)
XYZxyz(27.1282, 33.0856, 8.5708)
Luminance0.3308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA237 #3E37A2
analogous
#A27337 #9BA237 #66A237
triadic
#9BA237 #379BA2 #A2379B
tetradic
#9BA237 #37A273 #3E37A2 #A23766
square
#9BA237 #37A273 #3E37A2 #A23766
split-complementary
#9BA237 #3766A2 #7337A2
monochromatic
#444718 #6F7427 #9BA237 #BDC452 #CED480

Accessibility & contrast

On white

2.76
#9BA237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#9BA237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA237
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA237#FFFFFF#000000##000000
##9BA2371.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A28
Deuteranopia (green-blind)
#AE9D3E
Tritanopia (blue-blind)
#A5988C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ba237;
/* rgb */ color: rgb(155, 162, 55);
/* oklch */ color: oklch(68.6% 0.129 112.9);
Tailwind
colors: {
  custom: {
    50: '#bbbd74',
    500: '#9ba237',
    950: '#000000',
  },
}
SCSS
$custom: #9ba237;
$custom-light: #bbbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba237",
  "rgb": {
    "r": 155,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 63.925,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68592,
    "c": 0.12903,
    "h": 112.9
  },
  "luminance": 0.33085
}

Semantic roles & 50–950 ramp

primary
#9BA237
secondary
#7C78BD
accent
#4FD958
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA237

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

Preview Lab → · Contrast checker → · Palette generator →

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