#9DB127#9DB127

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

Color values

HEX#9DB127
RGBrgb(157, 177, 39)
HSLhsl(69, 64%, 42%)
HSVhsv(69, 78%, 69%)
CMYKcmyk(11.3%, 0%, 78%, 30.6%)
CIE-LABlab(68.58, -24.15, 62.69)
CIE-LCHlch(68.58, 67.18, 111.07°)
OKLaboklab(72.09% -0.0728 0.1373)
OKLCHoklch(72.09% 0.155 117.9)
XYZxyz(29.9937, 38.7592, 7.8203)
Luminance0.3876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB127 #3B27B1
analogous
#B18027 #9DB127 #58B127
triadic
#9DB127 #279DB1 #B1279D
tetradic
#9DB127 #27B180 #3B27B1 #B12758
square
#9DB127 #27B180 #3B27B1 #B12758
split-complementary
#9DB127 #2758B1 #8027B1
monochromatic
#444D11 #717F1C #9DB127 #BFD540 #D0E072

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DB127#FFFFFF#000000##000000
##9DB1271.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)
#BBA834
Tritanopia (blue-blind)
#A7A798
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9db127;
/* rgb */ color: rgb(157, 177, 39);
/* oklch */ color: oklch(72.1% 0.155 117.9);
Tailwind
colors: {
  custom: {
    50: '#bec86d',
    500: '#9db127',
    950: '#000000',
  },
}
SCSS
$custom: #9db127;
$custom-light: #bec86d;
$custom-dark: #000000;
JSON
{
  "hex": "#9db127",
  "rgb": {
    "r": 157,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 68.696,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72086,
    "c": 0.1554,
    "h": 117.9
  },
  "luminance": 0.38759
}

Semantic roles & 50–950 ramp

primary
#9DB127
secondary
#7A6DC7
accent
#41E759
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9DB127

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

Preview Lab → · Contrast checker → · Palette generator →

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