#9DA127#9DA127

#9DA127 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#9DA127
RGBrgb(157, 161, 39)
HSLhsl(62, 61%, 39%)
HSVhsv(62, 76%, 63%)
CMYKcmyk(2.5%, 0%, 75.8%, 36.9%)
CIE-LABlab(64.00, -16.09, 58.48)
CIE-LCHlch(64.00, 60.65, 105.38°)
OKLaboklab(68.42% -0.0505 0.1284)
OKLCHoklch(68.42% 0.138 111.5)
XYZxyz(27.0166, 32.8050, 6.8279)
Luminance0.3280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA127 #2B27A1
analogous
#A16827 #9DA127 #60A127
triadic
#9DA127 #279DA1 #A1279D
tetradic
#9DA127 #27A168 #2B27A1 #A12760
square
#9DA127 #27A168 #2B27A1 #A12760
split-complementary
#9DA127 #2760A1 #6827A1
monochromatic
#3D3E0F #6D701B #9DA127 #CACE37 #D7DA68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DA127#FFFFFF#000000##000000
##9DA1271.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)
#AE9A0A
Deuteranopia (green-blind)
#AE9D31
Tritanopia (blue-blind)
#A8978A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9da127;
/* rgb */ color: rgb(157, 161, 39);
/* oklch */ color: oklch(68.4% 0.138 111.5);
Tailwind
colors: {
  custom: {
    50: '#bdbc6b',
    500: '#9da127',
    950: '#000000',
  },
}
SCSS
$custom: #9da127;
$custom-light: #bdbc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9da127",
  "rgb": {
    "r": 157,
    "g": 161,
    "b": 39
  },
  "hsl": {
    "h": 61.967,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68416,
    "c": 0.13794,
    "h": 111.5
  },
  "luminance": 0.32804
}

Semantic roles & 50–950 ramp

primary
#9DA127
secondary
#6663C0
accent
#44E449
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DA127

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

Preview Lab → · Contrast checker → · Palette generator →

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