#9DA126#9DA126

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

Color values

HEX#9DA126
RGBrgb(157, 161, 38)
HSLhsl(62, 62%, 39%)
HSVhsv(62, 76%, 63%)
CMYKcmyk(2.5%, 0%, 76.4%, 36.9%)
CIE-LABlab(64.00, -16.13, 58.80)
CIE-LCHlch(64.00, 60.98, 105.34°)
OKLaboklab(68.41% -0.0507 0.1289)
OKLCHoklch(68.41% 0.138 111.5)
XYZxyz(27.0003, 32.7985, 6.7418)
Luminance0.3280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA126 #2A26A1
analogous
#A16826 #9DA126 #60A126
triadic
#9DA126 #269DA1 #A1269D
tetradic
#9DA126 #26A168 #2A26A1 #A12660
square
#9DA126 #26A168 #2A26A1 #A12660
split-complementary
#9DA126 #2660A1 #6826A1
monochromatic
#3C3E0F #6D6F1A #9DA126 #CACF35 #D7DB66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DA126#FFFFFF#000000##000000
##9DA1261.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)
#AE9906
Deuteranopia (green-blind)
#AF9D30
Tritanopia (blue-blind)
#A8978A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9da126;
/* rgb */ color: rgb(157, 161, 38);
/* oklch */ color: oklch(68.4% 0.138 111.5);
Tailwind
colors: {
  custom: {
    50: '#bdbc6b',
    500: '#9da126',
    950: '#000000',
  },
}
SCSS
$custom: #9da126;
$custom-light: #bdbc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9da126",
  "rgb": {
    "r": 157,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 61.951,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6841,
    "c": 0.13848,
    "h": 111.5
  },
  "luminance": 0.32798
}

Semantic roles & 50–950 ramp

primary
#9DA126
secondary
#6562C1
accent
#43E548
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DA126

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

Preview Lab → · Contrast checker → · Palette generator →

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