#9DB123#9DB123

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

Color values

HEX#9DB123
RGBrgb(157, 177, 35)
HSLhsl(68, 67%, 42%)
HSVhsv(68, 80%, 69%)
CMYKcmyk(11.3%, 0%, 80.2%, 30.6%)
CIE-LABlab(68.56, -24.30, 63.84)
CIE-LCHlch(68.56, 68.31, 110.84°)
OKLaboklab(72.07% -0.0735 0.1391)
OKLCHoklch(72.07% 0.157 117.9)
XYZxyz(29.9309, 38.7340, 7.4894)
Luminance0.3873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB123 #3723B1
analogous
#B17E23 #9DB123 #56B123
triadic
#9DB123 #239DB1 #B1239D
tetradic
#9DB123 #23B17E #3723B1 #B12356
square
#9DB123 #23B17E #3723B1 #B12356
split-complementary
#9DB123 #2356B1 #7E23B1
monochromatic
#424B0F #707E19 #9DB123 #C2D839 #D1E26C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DB123#FFFFFF#000000##000000
##9DB1231.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: #9db123;
/* rgb */ color: rgb(157, 177, 35);
/* oklch */ color: oklch(72.1% 0.157 117.9);
Tailwind
colors: {
  custom: {
    50: '#bec86c',
    500: '#9db123',
    950: '#000000',
  },
}
SCSS
$custom: #9db123;
$custom-light: #bec86c;
$custom-dark: #000000;
JSON
{
  "hex": "#9db123",
  "rgb": {
    "r": 157,
    "g": 177,
    "b": 35
  },
  "hsl": {
    "h": 68.451,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72066,
    "c": 0.1573,
    "h": 117.9
  },
  "luminance": 0.38734
}

Semantic roles & 50–950 ramp

primary
#9DB123
secondary
#7568C8
accent
#3EEA56
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9DB123

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

Preview Lab → · Contrast checker → · Palette generator →

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