#9DA732#9DA732

#9DA732 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.9% C 0.138 H 114.2°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#9DA732
RGBrgb(157, 167, 50)
HSLhsl(65, 54%, 43%)
HSVhsv(65, 70%, 65%)
CMYKcmyk(6%, 0%, 70.1%, 34.5%)
CIE-LABlab(65.78, -18.61, 56.23)
CIE-LCHlch(65.78, 59.23, 108.31°)
OKLaboklab(69.86% -0.0565 0.1256)
OKLCHoklch(69.86% 0.138 114.2)
XYZxyz(28.2998, 35.0364, 8.2889)
Luminance0.3504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA732 #3C32A7
analogous
#A77632 #9DA732 #63A732
triadic
#9DA732 #329DA7 #A7329D
tetradic
#9DA732 #32A776 #3C32A7 #A73263
square
#9DA732 #32A776 #3C32A7 #A73263
split-complementary
#9DA732 #3263A7 #7632A7
monochromatic
#444916 #717824 #9DA732 #BFCA4D #D0D87C

Accessibility & contrast

On white

2.62
#9DA732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#9DA732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA732
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA732#FFFFFF#000000##000000
##9DA7321.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F1F
Deuteranopia (green-blind)
#B3A13B
Tritanopia (blue-blind)
#A79D90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9da732;
/* rgb */ color: rgb(157, 167, 50);
/* oklch */ color: oklch(69.9% 0.138 114.2);
Tailwind
colors: {
  custom: {
    50: '#bdc171',
    500: '#9da732',
    950: '#000000',
  },
}
SCSS
$custom: #9da732;
$custom-light: #bdc171;
$custom-dark: #000000;
JSON
{
  "hex": "#9da732",
  "rgb": {
    "r": 157,
    "g": 167,
    "b": 50
  },
  "hsl": {
    "h": 65.128,
    "s": 53.917,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69858,
    "c": 0.13769,
    "h": 114.2
  },
  "luminance": 0.35036
}

Semantic roles & 50–950 ramp

primary
#9DA732
secondary
#7B74C0
accent
#4BDD57
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DA732

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

Preview Lab → · Contrast checker → · Palette generator →

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