#9DB126#9DB126

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

Color values

HEX#9DB126
RGBrgb(157, 177, 38)
HSLhsl(69, 65%, 42%)
HSVhsv(69, 79%, 69%)
CMYKcmyk(11.3%, 0%, 78.5%, 30.6%)
CIE-LABlab(68.57, -24.19, 62.98)
CIE-LCHlch(68.57, 67.47, 111.01°)
OKLaboklab(72.08% -0.0729 0.1378)
OKLCHoklch(72.08% 0.156 117.9)
XYZxyz(29.9773, 38.7526, 7.7341)
Luminance0.3875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB126 #3A26B1
analogous
#B18026 #9DB126 #58B126
triadic
#9DB126 #269DB1 #B1269D
tetradic
#9DB126 #26B180 #3A26B1 #B12658
square
#9DB126 #26B180 #3A26B1 #B12658
split-complementary
#9DB126 #2658B1 #8026B1
monochromatic
#444C10 #707F1B #9DB126 #C0D63F #D0E071

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DB126#FFFFFF#000000##000000
##9DB1261.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)
#BBA833
Tritanopia (blue-blind)
#A7A797
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9db126;
/* rgb */ color: rgb(157, 177, 38);
/* oklch */ color: oklch(72.1% 0.156 117.9);
Tailwind
colors: {
  custom: {
    50: '#bec86d',
    500: '#9db126',
    950: '#000000',
  },
}
SCSS
$custom: #9db126;
$custom-light: #bec86d;
$custom-dark: #000000;
JSON
{
  "hex": "#9db126",
  "rgb": {
    "r": 157,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 68.633,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72081,
    "c": 0.15589,
    "h": 117.9
  },
  "luminance": 0.38752
}

Semantic roles & 50–950 ramp

primary
#9DB126
secondary
#796BC7
accent
#40E858
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9DB126

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

Preview Lab → · Contrast checker → · Palette generator →

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