#9DA12A#9DA12A

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

Color values

HEX#9DA12A
RGBrgb(157, 161, 42)
HSLhsl(62, 59%, 40%)
HSVhsv(62, 74%, 63%)
CMYKcmyk(2.5%, 0%, 73.9%, 36.9%)
CIE-LABlab(64.02, -15.95, 57.46)
CIE-LCHlch(64.02, 59.64, 105.51°)
OKLaboklab(68.44% -0.0498 0.1268)
OKLCHoklch(68.44% 0.136 111.4)
XYZxyz(27.0683, 32.8257, 7.1001)
Luminance0.3282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA12A #2E2AA1
analogous
#A16A2A #9DA12A #61A12A
triadic
#9DA12A #2A9DA1 #A12A9D
tetradic
#9DA12A #2AA16A #2E2AA1 #A12A61
square
#9DA12A #2AA16A #2E2AA1 #A12A61
split-complementary
#9DA12A #2A61A1 #6A2AA1
monochromatic
#3E4011 #6E701D #9DA12A #C7CC3C #D5D96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DA12A#FFFFFF#000000##000000
##9DA12A1.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9da12a;
/* rgb */ color: rgb(157, 161, 42);
/* oklch */ color: oklch(68.4% 0.136 111.4);
Tailwind
colors: {
  custom: {
    50: '#bdbc6d',
    500: '#9da12a',
    950: '#000000',
  },
}
SCSS
$custom: #9da12a;
$custom-light: #bdbc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9da12a",
  "rgb": {
    "r": 157,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 62.017,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68435,
    "c": 0.13621,
    "h": 111.4
  },
  "luminance": 0.32825
}

Semantic roles & 50–950 ramp

primary
#9DA12A
secondary
#6A67C0
accent
#46E24B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9DA12A

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

Preview Lab → · Contrast checker → · Palette generator →

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