#9BA923#9BA923

#9BA923 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.1% C 0.149 H 115.8°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#9BA923
RGBrgb(155, 169, 35)
HSLhsl(66, 66%, 40%)
HSVhsv(66, 79%, 66%)
CMYKcmyk(8.3%, 0%, 79.3%, 33.7%)
CIE-LABlab(66.11, -21.19, 61.60)
CIE-LCHlch(66.11, 65.15, 108.98°)
OKLaboklab(70.06% -0.0648 0.1344)
OKLCHoklch(70.06% 0.149 115.8)
XYZxyz(28.0097, 35.4663, 6.9599)
Luminance0.3547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA923 #3123A9
analogous
#A97423 #9BA923 #58A923
triadic
#9BA923 #239BA9 #A9239B
tetradic
#9BA923 #23A974 #3123A9 #A92358
square
#9BA923 #23A974 #3123A9 #A92358
split-complementary
#9BA923 #2358A9 #7423A9
monochromatic
#3E440E #6C7619 #9BA923 #C4D534 #D3DF67

Accessibility & contrast

On white

2.59
#9BA923 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#9BA923 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA923
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA923#FFFFFF#000000##000000
##9BA9231.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B4A230
Tritanopia (blue-blind)
#A59F90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ba923;
/* rgb */ color: rgb(155, 169, 35);
/* oklch */ color: oklch(70.1% 0.149 115.8);
Tailwind
colors: {
  custom: {
    50: '#bcc26a',
    500: '#9ba923',
    950: '#000000',
  },
}
SCSS
$custom: #9ba923;
$custom-light: #bcc26a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba923",
  "rgb": {
    "r": 155,
    "g": 169,
    "b": 35
  },
  "hsl": {
    "h": 66.269,
    "s": 65.686,
    "l": 40
  },
  "oklch": {
    "l": 0.7006,
    "c": 0.14919,
    "h": 115.8
  },
  "luminance": 0.35466
}

Semantic roles & 50–950 ramp

primary
#9BA923
secondary
#6D63C5
accent
#3FE951
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA923

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

Preview Lab → · Contrast checker → · Palette generator →

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