#9DA727#9DA727

#9DA727 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.8% C 0.144 H 114.1°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#9DA727
RGBrgb(157, 167, 39)
HSLhsl(65, 62%, 40%)
HSVhsv(65, 77%, 65%)
CMYKcmyk(6%, 0%, 76.6%, 34.5%)
CIE-LABlab(65.71, -19.16, 60.06)
CIE-LCHlch(65.71, 63.04, 107.69°)
OKLaboklab(69.79% -0.059 0.1317)
OKLCHoklch(69.79% 0.144 114.1)
XYZxyz(28.0904, 34.9526, 7.1858)
Luminance0.3495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA727 #3127A7
analogous
#A77127 #9DA727 #5DA727
triadic
#9DA727 #279DA7 #A7279D
tetradic
#9DA727 #27A771 #3127A7 #A7275D
square
#9DA727 #27A771 #3127A7 #A7275D
split-complementary
#9DA727 #275DA7 #7127A7
monochromatic
#404410 #6E751B #9DA727 #C5D13A #D4DD6C

Accessibility & contrast

On white

2.63
#9DA727 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#9DA727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA727
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA727#FFFFFF#000000##000000
##9DA7271.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F05
Deuteranopia (green-blind)
#B3A132
Tritanopia (blue-blind)
#A89D8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9da727;
/* rgb */ color: rgb(157, 167, 39);
/* oklch */ color: oklch(69.8% 0.144 114.1);
Tailwind
colors: {
  custom: {
    50: '#bdc16c',
    500: '#9da727',
    950: '#000000',
  },
}
SCSS
$custom: #9da727;
$custom-light: #bdc16c;
$custom-dark: #000000;
JSON
{
  "hex": "#9da727",
  "rgb": {
    "r": 157,
    "g": 167,
    "b": 39
  },
  "hsl": {
    "h": 64.688,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.69785,
    "c": 0.14433,
    "h": 114.1
  },
  "luminance": 0.34952
}

Semantic roles & 50–950 ramp

primary
#9DA727
secondary
#6E67C3
accent
#43E54F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DA727

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

Preview Lab → · Contrast checker → · Palette generator →

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