#9DA751#9DA751

#9DA751 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.2% C 0.111 H 114.8°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#9DA751
RGBrgb(157, 167, 81)
HSLhsl(67, 35%, 49%)
HSVhsv(67, 51%, 65%)
CMYKcmyk(6%, 0%, 51.5%, 34.5%)
CIE-LABlab(66.06, -16.29, 42.80)
CIE-LCHlch(66.06, 45.80, 110.83°)
OKLaboklab(70.18% -0.0467 0.1011)
OKLCHoklch(70.18% 0.111 114.8)
XYZxyz(29.2090, 35.4000, 13.0772)
Luminance0.3540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA751 #5B51A7
analogous
#A78651 #9DA751 #72A751
triadic
#9DA751 #519DA7 #A7519D
tetradic
#9DA751 #51A786 #5B51A7 #A75172
square
#9DA751 #51A786 #5B51A7 #A75172
split-complementary
#9DA751 #5172A7 #8651A7
monochromatic
#505529 #767E3D #9DA751 #B5BD78 #CCD1A1

Accessibility & contrast

On white

2.60
#9DA751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#9DA751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA751
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA751#FFFFFF#000000##000000
##9DA7511.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A049
Deuteranopia (green-blind)
#B1A156
Tritanopia (blue-blind)
#A69F93
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9da751;
/* rgb */ color: rgb(157, 167, 81);
/* oklch */ color: oklch(70.2% 0.111 114.8);
Tailwind
colors: {
  custom: {
    50: '#bcc184',
    500: '#9da751',
    950: '#000000',
  },
}
SCSS
$custom: #9da751;
$custom-light: #bcc184;
$custom-dark: #000000;
JSON
{
  "hex": "#9da751",
  "rgb": {
    "r": 157,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 66.977,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.70175,
    "c": 0.11136,
    "h": 114.8
  },
  "luminance": 0.354
}

Semantic roles & 50–950 ramp

primary
#9DA751
secondary
#9A95BF
accent
#5DCB6A
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9DA751

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

Preview Lab → · Contrast checker → · Palette generator →

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