#9DA271#9DA271

#9DA271 is a light, moderate yellow. Relative luminance 0.342; OKLCH L 69.6% C 0.068 H 112.9°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#9DA271
RGBrgb(157, 162, 113)
HSLhsl(66, 21%, 54%)
HSVhsv(66, 30%, 64%)
CMYKcmyk(3.1%, 0%, 30.2%, 36.5%)
CIE-LABlab(65.12, -9.97, 24.96)
CIE-LCHlch(65.12, 26.87, 111.77°)
OKLaboklab(69.58% -0.0263 0.0624)
OKLCHoklch(69.58% 0.068 112.9)
XYZxyz(29.8056, 34.2013, 20.6509)
Luminance0.3420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA271 #7671A2
analogous
#A28F71 #9DA271 #85A271
triadic
#9DA271 #719DA2 #A2719D
tetradic
#9DA271 #71A28F #7671A2 #A27185
square
#9DA271 #71A28F #7671A2 #A27185
split-complementary
#9DA271 #7185A2 #8F71A2
monochromatic
#595C3C #7D8155 #9DA271 #B7BA96 #D0D2BB

Accessibility & contrast

On white

2.68
#9DA271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#9DA271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA271
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA271#FFFFFF#000000##000000
##9DA2711.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99D6E
Deuteranopia (green-blind)
#A99F73
Tritanopia (blue-blind)
#A39C95
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9da271;
/* rgb */ color: rgb(157, 162, 113);
/* oklch */ color: oklch(69.6% 0.068 112.9);
Tailwind
colors: {
  custom: {
    50: '#babd9a',
    500: '#9da271',
    950: '#000000',
  },
}
SCSS
$custom: #9da271;
$custom-light: #babd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9da271",
  "rgb": {
    "r": 157,
    "g": 162,
    "b": 113
  },
  "hsl": {
    "h": 66.122,
    "s": 20.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6958,
    "c": 0.0677,
    "h": 112.9
  },
  "luminance": 0.34201
}

Semantic roles & 50–950 ramp

primary
#9DA271
secondary
#AFADC2
accent
#6ABD73
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12120E
muted
#81817E

Preview Lab

Preview with #9DA271

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

Preview Lab → · Contrast checker → · Palette generator →

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