#9BB123#9BB123

#9BB123 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 71.9% C 0.158 H 118.6°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#9BB123
RGBrgb(155, 177, 35)
HSLhsl(69, 67%, 42%)
HSVhsv(69, 80%, 69%)
CMYKcmyk(12.4%, 0%, 80.2%, 30.6%)
CIE-LABlab(68.41, -25.15, 63.66)
CIE-LCHlch(68.41, 68.45, 111.56°)
OKLaboklab(71.91% -0.0757 0.1388)
OKLCHoklch(71.91% 0.158 118.6)
XYZxyz(29.5438, 38.5344, 7.4713)
Luminance0.3853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB123 #3923B1
analogous
#B18023 #9BB123 #54B123
triadic
#9BB123 #239BB1 #B1239B
tetradic
#9BB123 #23B180 #3923B1 #B12354
square
#9BB123 #23B180 #3923B1 #B12354
split-complementary
#9BB123 #2354B1 #8023B1
monochromatic
#424B0F #6E7E19 #9BB123 #BFD839 #D0E26C

Accessibility & contrast

On white

2.41
#9BB123 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#9BB123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB123
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB123#FFFFFF#000000##000000
##9BB1231.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BBA731
Tritanopia (blue-blind)
#A5A797
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9bb123;
/* rgb */ color: rgb(155, 177, 35);
/* oklch */ color: oklch(71.9% 0.158 118.6);
Tailwind
colors: {
  custom: {
    50: '#bcc86c',
    500: '#9bb123',
    950: '#000000',
  },
}
SCSS
$custom: #9bb123;
$custom-light: #bcc86c;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb123",
  "rgb": {
    "r": 155,
    "g": 177,
    "b": 35
  },
  "hsl": {
    "h": 69.296,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71912,
    "c": 0.15807,
    "h": 118.6
  },
  "luminance": 0.38534
}

Semantic roles & 50–950 ramp

primary
#9BB123
secondary
#7768C8
accent
#3EEA59
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #9BB123

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

Preview Lab → · Contrast checker → · Palette generator →

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