#9DA12C#9DA12C

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

Color values

HEX#9DA12C
RGBrgb(157, 161, 44)
HSLhsl(62, 57%, 40%)
HSVhsv(62, 73%, 63%)
CMYKcmyk(2.5%, 0%, 72.7%, 36.9%)
CIE-LABlab(64.03, -15.85, 56.76)
CIE-LCHlch(64.03, 58.93, 105.61°)
OKLaboklab(68.45% -0.0493 0.1257)
OKLCHoklch(68.45% 0.135 111.4)
XYZxyz(27.1050, 32.8404, 7.2934)
Luminance0.3284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA12C #302CA1
analogous
#A16A2C #9DA12C #63A12C
triadic
#9DA12C #2C9DA1 #A12C9D
tetradic
#9DA12C #2CA16A #302CA1 #A12C63
square
#9DA12C #2CA16A #302CA1 #A12C63
split-complementary
#9DA12C #2C63A1 #6A2CA1
monochromatic
#3F4112 #6E711F #9DA12C #C6CB40 #D4D870

Accessibility & contrast

On white

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

On black

7.57
#9DA12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA12C
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA12C#FFFFFF#000000##000000
##9DA12C1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9da12c;
/* rgb */ color: rgb(157, 161, 44);
/* oklch */ color: oklch(68.4% 0.135 111.4);
Tailwind
colors: {
  custom: {
    50: '#bdbc6e',
    500: '#9da12c',
    950: '#000000',
  },
}
SCSS
$custom: #9da12c;
$custom-light: #bdbc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9da12c",
  "rgb": {
    "r": 157,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 62.051,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68448,
    "c": 0.135,
    "h": 111.4
  },
  "luminance": 0.3284
}

Semantic roles & 50–950 ramp

primary
#9DA12C
secondary
#6D6ABF
accent
#47E04D
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9DA12C

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

Preview Lab → · Contrast checker → · Palette generator →

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