#9DA128#9DA128

#9DA128 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.4% C 0.137 H 111.5°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#9DA128
RGBrgb(157, 161, 40)
HSLhsl(62, 60%, 39%)
HSVhsv(62, 75%, 63%)
CMYKcmyk(2.5%, 0%, 75.2%, 36.9%)
CIE-LABlab(64.01, -16.04, 58.15)
CIE-LCHlch(64.01, 60.32, 105.43°)
OKLaboklab(68.42% -0.0503 0.1279)
OKLCHoklch(68.42% 0.137 111.5)
XYZxyz(27.0334, 32.8117, 6.9163)
Luminance0.3281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA128 #2C28A1
analogous
#A16828 #9DA128 #61A128
triadic
#9DA128 #289DA1 #A1289D
tetradic
#9DA128 #28A168 #2C28A1 #A12861
square
#9DA128 #28A168 #2C28A1 #A12861
split-complementary
#9DA128 #2861A1 #6828A1
monochromatic
#3D3F10 #6D701C #9DA128 #C9CE39 #D6DA6A

Accessibility & contrast

On white

2.78
#9DA128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#9DA128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA128
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA128#FFFFFF#000000##000000
##9DA1281.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A0D
Deuteranopia (green-blind)
#AE9D32
Tritanopia (blue-blind)
#A8978A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9da128;
/* rgb */ color: rgb(157, 161, 40);
/* oklch */ color: oklch(68.4% 0.137 111.5);
Tailwind
colors: {
  custom: {
    50: '#bdbc6c',
    500: '#9da128',
    950: '#000000',
  },
}
SCSS
$custom: #9da128;
$custom-light: #bdbc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9da128",
  "rgb": {
    "r": 157,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 61.983,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68422,
    "c": 0.13738,
    "h": 111.5
  },
  "luminance": 0.32811
}

Semantic roles & 50–950 ramp

primary
#9DA128
secondary
#6865C0
accent
#44E34A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9DA128

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

Preview Lab → · Contrast checker → · Palette generator →

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