#9BA224#9BA224

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

Color values

HEX#9BA224
RGBrgb(155, 162, 36)
HSLhsl(63, 64%, 39%)
HSVhsv(63, 78%, 64%)
CMYKcmyk(4.3%, 0%, 77.8%, 36.5%)
CIE-LABlab(64.11, -17.61, 59.49)
CIE-LCHlch(64.11, 62.04, 106.49°)
OKLaboklab(68.46% -0.0548 0.1301)
OKLCHoklch(68.46% 0.141 112.9)
XYZxyz(26.7572, 32.9372, 6.6167)
Luminance0.3294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA224 #2B24A2
analogous
#A26A24 #9BA224 #5CA224
triadic
#9BA224 #249BA2 #A2249B
tetradic
#9BA224 #24A26A #2B24A2 #A2245C
square
#9BA224 #24A26A #2B24A2 #A2245C
split-complementary
#9BA224 #245CA2 #6A24A2
monochromatic
#3B3E0E #6B7019 #9BA224 #C9D132 #D6DD64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BA224#FFFFFF#000000##000000
##9BA2241.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: #9ba224;
/* rgb */ color: rgb(155, 162, 36);
/* oklch */ color: oklch(68.5% 0.141 112.9);
Tailwind
colors: {
  custom: {
    50: '#bcbd6a',
    500: '#9ba224',
    950: '#000000',
  },
}
SCSS
$custom: #9ba224;
$custom-light: #bcbd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba224",
  "rgb": {
    "r": 155,
    "g": 162,
    "b": 36
  },
  "hsl": {
    "h": 63.333,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.68457,
    "c": 0.14114,
    "h": 112.9
  },
  "luminance": 0.32937
}

Semantic roles & 50–950 ramp

primary
#9BA224
secondary
#6560C2
accent
#41E74A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA224

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

Preview Lab → · Contrast checker → · Palette generator →

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