#9DB122#9DB122

#9DB122 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.1% C 0.158 H 117.8°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#9DB122
RGBrgb(157, 177, 34)
HSLhsl(68, 68%, 41%)
HSVhsv(68, 81%, 69%)
CMYKcmyk(11.3%, 0%, 80.8%, 30.6%)
CIE-LABlab(68.55, -24.34, 64.12)
CIE-LCHlch(68.55, 68.58, 110.79°)
OKLaboklab(72.06% -0.0737 0.1395)
OKLCHoklch(72.06% 0.158 117.8)
XYZxyz(29.9163, 38.7282, 7.4124)
Luminance0.3873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB122 #3622B1
analogous
#B17E22 #9DB122 #55B122
triadic
#9DB122 #229DB1 #B1229D
tetradic
#9DB122 #22B17E #3622B1 #B12255
square
#9DB122 #22B17E #3622B1 #B12255
split-complementary
#9DB122 #2255B1 #7E22B1
monochromatic
#424A0E #6F7E18 #9DB122 #C2D938 #D2E36B

Accessibility & contrast

On white

2.40
#9DB122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#9DB122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB122
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB122#FFFFFF#000000##000000
##9DB1221.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9db122;
/* rgb */ color: rgb(157, 177, 34);
/* oklch */ color: oklch(72.1% 0.158 117.8);
Tailwind
colors: {
  custom: {
    50: '#bec86b',
    500: '#9db122',
    950: '#000000',
  },
}
SCSS
$custom: #9db122;
$custom-light: #bec86b;
$custom-dark: #000000;
JSON
{
  "hex": "#9db122",
  "rgb": {
    "r": 157,
    "g": 177,
    "b": 34
  },
  "hsl": {
    "h": 68.392,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72061,
    "c": 0.15775,
    "h": 117.8
  },
  "luminance": 0.38728
}

Semantic roles & 50–950 ramp

primary
#9DB122
secondary
#7466C9
accent
#3DEB55
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9DB122

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

Preview Lab → · Contrast checker → · Palette generator →

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