#9BA423#9BA423

#9BA423 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 68.9% C 0.144 H 113.7°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9BA423
RGBrgb(155, 164, 35)
HSLhsl(64, 65%, 39%)
HSVhsv(64, 79%, 64%)
CMYKcmyk(5.5%, 0%, 78.7%, 35.7%)
CIE-LABlab(64.68, -18.67, 60.31)
CIE-LCHlch(64.68, 63.14, 107.20°)
OKLaboklab(68.91% -0.0578 0.1316)
OKLCHoklch(68.91% 0.144 113.7)
XYZxyz(27.0973, 33.6414, 6.6558)
Luminance0.3364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA423 #2C23A4
analogous
#A46D23 #9BA423 #5BA423
triadic
#9BA423 #239BA4 #A4239B
tetradic
#9BA423 #23A46D #2C23A4 #A4235B
square
#9BA423 #23A46D #2C23A4 #A4235B
split-complementary
#9BA423 #235BA4 #6D23A4
monochromatic
#3C3F0D #6B7218 #9BA423 #C8D331 #D5DE64

Accessibility & contrast

On white

2.72
#9BA423 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#9BA423 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA423
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA423#FFFFFF#000000##000000
##9BA4231.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B09E2F
Tritanopia (blue-blind)
#A69A8C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ba423;
/* rgb */ color: rgb(155, 164, 35);
/* oklch */ color: oklch(68.9% 0.144 113.7);
Tailwind
colors: {
  custom: {
    50: '#bcbe6a',
    500: '#9ba423',
    950: '#000000',
  },
}
SCSS
$custom: #9ba423;
$custom-light: #bcbe6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba423",
  "rgb": {
    "r": 155,
    "g": 164,
    "b": 35
  },
  "hsl": {
    "h": 64.186,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6891,
    "c": 0.14377,
    "h": 113.7
  },
  "luminance": 0.33641
}

Semantic roles & 50–950 ramp

primary
#9BA423
secondary
#6760C3
accent
#40E84C
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA423

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

Preview Lab → · Contrast checker → · Palette generator →

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