#9DA138#9DA138

#9DA138 is a light, vivid yellow. Relative luminance 0.329; OKLCH L 68.5% C 0.127 H 111.4°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9DA138
RGBrgb(157, 161, 56)
HSLhsl(62, 48%, 43%)
HSVhsv(62, 65%, 63%)
CMYKcmyk(2.5%, 0%, 65.2%, 36.9%)
CIE-LABlab(64.12, -15.17, 52.13)
CIE-LCHlch(64.12, 54.29, 106.23°)
OKLaboklab(68.54% -0.0462 0.1179)
OKLCHoklch(68.54% 0.127 111.4)
XYZxyz(27.3641, 32.9440, 8.6580)
Luminance0.3294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA138 #3C38A1
analogous
#A17138 #9DA138 #68A138
triadic
#9DA138 #389DA1 #A1389D
tetradic
#9DA138 #38A171 #3C38A1 #A13868
square
#9DA138 #38A171 #3C38A1 #A13868
split-complementary
#9DA138 #3868A1 #7138A1
monochromatic
#444618 #717428 #9DA138 #BFC353 #D0D380

Accessibility & contrast

On white

2.77
#9DA138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#9DA138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA138
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA138#FFFFFF#000000##000000
##9DA1381.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A2A
Deuteranopia (green-blind)
#AE9D3F
Tritanopia (blue-blind)
#A7978B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9da138;
/* rgb */ color: rgb(157, 161, 56);
/* oklch */ color: oklch(68.5% 0.127 111.4);
Tailwind
colors: {
  custom: {
    50: '#bdbc74',
    500: '#9da138',
    950: '#000000',
  },
}
SCSS
$custom: #9da138;
$custom-light: #bdbc74;
$custom-dark: #000000;
JSON
{
  "hex": "#9da138",
  "rgb": {
    "r": 157,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 62.286,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68542,
    "c": 0.12665,
    "h": 111.4
  },
  "luminance": 0.32943
}

Semantic roles & 50–950 ramp

primary
#9DA138
secondary
#7B78BC
accent
#50D855
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DA138

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

Preview Lab → · Contrast checker → · Palette generator →

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