#9DA142#9DA142

#9DA142 is a light, moderate yellow. Relative luminance 0.331; OKLCH L 68.6% C 0.118 H 111.4°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#9DA142
RGBrgb(157, 161, 66)
HSLhsl(63, 42%, 45%)
HSVhsv(63, 59%, 63%)
CMYKcmyk(2.5%, 0%, 59%, 36.9%)
CIE-LABlab(64.20, -14.47, 47.81)
CIE-LCHlch(64.20, 49.95, 106.83°)
OKLaboklab(68.64% -0.0431 0.1102)
OKLCHoklch(68.64% 0.118 111.4)
XYZxyz(27.6336, 33.0518, 10.0772)
Luminance0.3305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA142 #4642A1
analogous
#A17542 #9DA142 #6EA142
triadic
#9DA142 #429DA1 #A1429D
tetradic
#9DA142 #42A175 #4642A1 #A1426E
square
#9DA142 #42A175 #4642A1 #A1426E
split-complementary
#9DA142 #426EA1 #7542A1
monochromatic
#484A1E #737630 #9DA142 #BBBF62 #CDD08D

Accessibility & contrast

On white

2.76
#9DA142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#9DA142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA142
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA142#FFFFFF#000000##000000
##9DA1421.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A37
Deuteranopia (green-blind)
#AD9D48
Tritanopia (blue-blind)
#A7988D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9da142;
/* rgb */ color: rgb(157, 161, 66);
/* oklch */ color: oklch(68.6% 0.118 111.4);
Tailwind
colors: {
  custom: {
    50: '#bcbc7a',
    500: '#9da142',
    950: '#000000',
  },
}
SCSS
$custom: #9da142;
$custom-light: #bcbc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#9da142",
  "rgb": {
    "r": 157,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 62.526,
    "s": 41.85,
    "l": 44.51
  },
  "oklch": {
    "l": 0.6864,
    "c": 0.11835,
    "h": 111.4
  },
  "luminance": 0.33051
}

Semantic roles & 50–950 ramp

primary
#9DA142
secondary
#8683BB
accent
#56D25B
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9DA142

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

Preview Lab → · Contrast checker → · Palette generator →

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