#9BA230#9BA230

#9BA230 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.5% C 0.134 H 112.9°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#9BA230
RGBrgb(155, 162, 48)
HSLhsl(64, 54%, 41%)
HSVhsv(64, 70%, 64%)
CMYKcmyk(4.3%, 0%, 70.4%, 36.5%)
CIE-LABlab(64.18, -17.03, 55.36)
CIE-LCHlch(64.18, 57.92, 107.10°)
OKLaboklab(68.54% -0.0521 0.1235)
OKLCHoklch(68.54% 0.134 112.9)
XYZxyz(26.9722, 33.0232, 7.7490)
Luminance0.3302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA230 #3730A2
analogous
#A27030 #9BA230 #62A230
triadic
#9BA230 #309BA2 #A2309B
tetradic
#9BA230 #30A270 #3730A2 #A23062
square
#9BA230 #30A270 #3730A2 #A23062
split-complementary
#9BA230 #3062A2 #7030A2
monochromatic
#414414 #6E7322 #9BA230 #C0C847 #D0D676

Accessibility & contrast

On white

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

On black

7.60
#9BA230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA230
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA230#FFFFFF#000000##000000
##9BA2301.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ba230;
/* rgb */ color: rgb(155, 162, 48);
/* oklch */ color: oklch(68.5% 0.134 112.9);
Tailwind
colors: {
  custom: {
    50: '#bcbd70',
    500: '#9ba230',
    950: '#000000',
  },
}
SCSS
$custom: #9ba230;
$custom-light: #bcbd70;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba230",
  "rgb": {
    "r": 155,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 63.684,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68535,
    "c": 0.13403,
    "h": 112.9
  },
  "luminance": 0.33023
}

Semantic roles & 50–950 ramp

primary
#9BA230
secondary
#746FBE
accent
#4ADE53
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BA230

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

Preview Lab → · Contrast checker → · Palette generator →

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