#9BA223#9BA223

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

Color values

HEX#9BA223
RGBrgb(155, 162, 35)
HSLhsl(63, 64%, 39%)
HSVhsv(63, 78%, 64%)
CMYKcmyk(4.3%, 0%, 78.4%, 36.5%)
CIE-LABlab(64.11, -17.65, 59.80)
CIE-LCHlch(64.11, 62.35, 106.44°)
OKLaboklab(68.45% -0.055 0.1305)
OKLCHoklch(68.45% 0.142 112.9)
XYZxyz(26.7422, 32.9312, 6.5374)
Luminance0.3293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA223 #2A23A2
analogous
#A26923 #9BA223 #5BA223
triadic
#9BA223 #239BA2 #A2239B
tetradic
#9BA223 #23A269 #2A23A2 #A2235B
square
#9BA223 #23A269 #2A23A2 #A2235B
split-complementary
#9BA223 #235BA2 #6923A2
monochromatic
#3B3D0D #6B7018 #9BA223 #C9D230 #D6DD62

Accessibility & contrast

On white

2.77
#9BA223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#9BA223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA223
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA223#FFFFFF#000000##000000
##9BA2231.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#AF9D2F
Tritanopia (blue-blind)
#A6988B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ba223;
/* rgb */ color: rgb(155, 162, 35);
/* oklch */ color: oklch(68.5% 0.142 112.9);
Tailwind
colors: {
  custom: {
    50: '#bcbd6a',
    500: '#9ba223',
    950: '#000000',
  },
}
SCSS
$custom: #9ba223;
$custom-light: #bcbd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba223",
  "rgb": {
    "r": 155,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 63.307,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68452,
    "c": 0.14165,
    "h": 112.9
  },
  "luminance": 0.32931
}

Semantic roles & 50–950 ramp

primary
#9BA223
secondary
#645EC2
accent
#40E74A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA223

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

Preview Lab → · Contrast checker → · Palette generator →

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