#9DA12B#9DA12B

#9DA12B 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#9DA12B
RGBrgb(157, 161, 43)
HSLhsl(62, 58%, 40%)
HSVhsv(62, 73%, 63%)
CMYKcmyk(2.5%, 0%, 73.3%, 36.9%)
CIE-LABlab(64.03, -15.90, 57.12)
CIE-LCHlch(64.03, 59.29, 105.56°)
OKLaboklab(68.44% -0.0496 0.1262)
OKLCHoklch(68.44% 0.136 111.4)
XYZxyz(27.0864, 32.8329, 7.1956)
Luminance0.3283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA12B #2F2BA1
analogous
#A16A2B #9DA12B #62A12B
triadic
#9DA12B #2B9DA1 #A12B9D
tetradic
#9DA12B #2BA16A #2F2BA1 #A12B62
square
#9DA12B #2BA16A #2F2BA1 #A12B62
split-complementary
#9DA12B #2B62A1 #6A2BA1
monochromatic
#3F4011 #6E711E #9DA12B #C7CB3E #D5D86E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DA12B#FFFFFF#000000##000000
##9DA12B1.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)
#AE9A14
Deuteranopia (green-blind)
#AE9D34
Tritanopia (blue-blind)
#A8978A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9da12b;
/* rgb */ color: rgb(157, 161, 43);
/* oklch */ color: oklch(68.4% 0.136 111.4);
Tailwind
colors: {
  custom: {
    50: '#bdbc6d',
    500: '#9da12b',
    950: '#000000',
  },
}
SCSS
$custom: #9da12b;
$custom-light: #bdbc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9da12b",
  "rgb": {
    "r": 157,
    "g": 161,
    "b": 43
  },
  "hsl": {
    "h": 62.034,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.68442,
    "c": 0.13561,
    "h": 111.4
  },
  "luminance": 0.32832
}

Semantic roles & 50–950 ramp

primary
#9DA12B
secondary
#6B69BF
accent
#47E14C
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9DA12B

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

Preview Lab → · Contrast checker → · Palette generator →

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