#9DB138#9DB138

#9DB138 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.2% C 0.145 H 118.3°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#9DB138
RGBrgb(157, 177, 56)
HSLhsl(70, 52%, 46%)
HSVhsv(70, 68%, 69%)
CMYKcmyk(11.3%, 0%, 68.4%, 30.6%)
CIE-LABlab(68.68, -23.27, 56.82)
CIE-LCHlch(68.68, 61.40, 112.27°)
OKLaboklab(72.2% -0.0688 0.1278)
OKLCHoklch(72.2% 0.145 118.3)
XYZxyz(30.3412, 38.8982, 9.6503)
Luminance0.3890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB138 #4C38B1
analogous
#B18838 #9DB138 #61B138
triadic
#9DB138 #389DB1 #B1389D
tetradic
#9DB138 #38B188 #4C38B1 #B13861
square
#9DB138 #38B188 #4C38B1 #B13861
split-complementary
#9DB138 #3861B1 #8838B1
monochromatic
#4B541B #748329 #9DB138 #B9CB5B #CDDA8A

Accessibility & contrast

On white

2.39
#9DB138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#9DB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB138
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB138#FFFFFF#000000##000000
##9DB1381.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA726
Deuteranopia (green-blind)
#BAA841
Tritanopia (blue-blind)
#A6A799
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9db138;
/* rgb */ color: rgb(157, 177, 56);
/* oklch */ color: oklch(72.2% 0.145 118.3);
Tailwind
colors: {
  custom: {
    50: '#bdc876',
    500: '#9db138',
    950: '#000000',
  },
}
SCSS
$custom: #9db138;
$custom-light: #bdc876;
$custom-dark: #000000;
JSON
{
  "hex": "#9db138",
  "rgb": {
    "r": 157,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 69.917,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.722,
    "c": 0.14517,
    "h": 118.3
  },
  "luminance": 0.38898
}

Semantic roles & 50–950 ramp

primary
#9DB138
secondary
#8C81C4
accent
#4CDB64
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9DB138

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

Preview Lab → · Contrast checker → · Palette generator →

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