#9DB125#9DB125

#9DB125 is a light, vivid yellow. Relative luminance 0.387; 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#9DB125
RGBrgb(157, 177, 37)
HSLhsl(69, 65%, 42%)
HSVhsv(69, 79%, 69%)
CMYKcmyk(11.3%, 0%, 79.1%, 30.6%)
CIE-LABlab(68.57, -24.23, 63.28)
CIE-LCHlch(68.57, 67.76, 110.95°)
OKLaboklab(72.08% -0.0731 0.1382)
OKLCHoklch(72.08% 0.156 117.9)
XYZxyz(29.9614, 38.7463, 7.6503)
Luminance0.3875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB125 #3925B1
analogous
#B17F25 #9DB125 #57B125
triadic
#9DB125 #259DB1 #B1259D
tetradic
#9DB125 #25B17F #3925B1 #B12557
square
#9DB125 #25B17F #3925B1 #B12557
split-complementary
#9DB125 #2557B1 #7F25B1
monochromatic
#434C10 #707E1A #9DB125 #C0D63D #D1E16F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DB125#FFFFFF#000000##000000
##9DB1251.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: #9db125;
/* rgb */ color: rgb(157, 177, 37);
/* oklch */ color: oklch(72.1% 0.156 117.9);
Tailwind
colors: {
  custom: {
    50: '#bec86c',
    500: '#9db125',
    950: '#000000',
  },
}
SCSS
$custom: #9db125;
$custom-light: #bec86c;
$custom-dark: #000000;
JSON
{
  "hex": "#9db125",
  "rgb": {
    "r": 157,
    "g": 177,
    "b": 37
  },
  "hsl": {
    "h": 68.571,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72076,
    "c": 0.15638,
    "h": 117.9
  },
  "luminance": 0.38746
}

Semantic roles & 50–950 ramp

primary
#9DB125
secondary
#786AC8
accent
#3FE858
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9DB125

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

Preview Lab → · Contrast checker → · Palette generator →

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