#9DAB3D#9DAB3D

#9DAB3D is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.9% C 0.134 H 116.1°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#9DAB3D
RGBrgb(157, 171, 61)
HSLhsl(68, 47%, 45%)
HSVhsv(68, 64%, 67%)
CMYKcmyk(8.2%, 0%, 64.3%, 32.9%)
CIE-LABlab(67.00, -19.95, 53.05)
CIE-LCHlch(67.00, 56.67, 110.61°)
OKLaboklab(70.86% -0.0591 0.1206)
OKLCHoklch(70.86% 0.134 116.1)
XYZxyz(29.3105, 36.6312, 9.9404)
Luminance0.3663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAB3D #4B3DAB
analogous
#AB823D #9DAB3D #66AB3D
triadic
#9DAB3D #3D9DAB #AB3D9D
tetradic
#9DAB3D #3DAB82 #4B3DAB #AB3D66
square
#9DAB3D #3DAB82 #4B3DAB #AB3D66
split-complementary
#9DAB3D #3D66AB #823DAB
monochromatic
#4A511D #747E2D #9DAB3D #B9C65F #CDD68C

Accessibility & contrast

On white

2.52
#9DAB3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#9DAB3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAB3D
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAB3D#FFFFFF#000000##000000
##9DAB3D1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A22F
Deuteranopia (green-blind)
#B5A445
Tritanopia (blue-blind)
#A6A294
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9dab3d;
/* rgb */ color: rgb(157, 171, 61);
/* oklch */ color: oklch(70.9% 0.134 116.1);
Tailwind
colors: {
  custom: {
    50: '#bdc378',
    500: '#9dab3d',
    950: '#000000',
  },
}
SCSS
$custom: #9dab3d;
$custom-light: #bdc378;
$custom-dark: #000000;
JSON
{
  "hex": "#9dab3d",
  "rgb": {
    "r": 157,
    "g": 171,
    "b": 61
  },
  "hsl": {
    "h": 67.636,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70864,
    "c": 0.13431,
    "h": 116.1
  },
  "luminance": 0.36631
}

Semantic roles & 50–950 ramp

primary
#9DAB3D
secondary
#8B83C1
accent
#51D762
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9DAB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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