#9DA827#9DA827

#9DA827 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.0% C 0.145 H 114.5°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#9DA827
RGBrgb(157, 168, 39)
HSLhsl(65, 62%, 41%)
HSVhsv(65, 77%, 66%)
CMYKcmyk(6.5%, 0%, 76.8%, 34.1%)
CIE-LABlab(66.00, -19.66, 60.32)
CIE-LCHlch(66.00, 63.45, 108.05°)
OKLaboklab(70.01% -0.0604 0.1323)
OKLCHoklch(70.01% 0.145 114.5)
XYZxyz(28.2743, 35.3204, 7.2471)
Luminance0.3532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA827 #3227A8
analogous
#A87227 #9DA827 #5DA827
triadic
#9DA827 #279DA8 #A8279D
tetradic
#9DA827 #27A872 #3227A8 #A8275D
square
#9DA827 #27A872 #3227A8 #A8275D
split-complementary
#9DA827 #275DA8 #7227A8
monochromatic
#404510 #6F761B #9DA827 #C5D13B #D3DD6C

Accessibility & contrast

On white

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

On black

8.06
#9DA827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA827
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA827#FFFFFF#000000##000000
##9DA8271.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F04
Deuteranopia (green-blind)
#B4A132
Tritanopia (blue-blind)
#A89E90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9da827;
/* rgb */ color: rgb(157, 168, 39);
/* oklch */ color: oklch(70.0% 0.145 114.5);
Tailwind
colors: {
  custom: {
    50: '#bdc16c',
    500: '#9da827',
    950: '#000000',
  },
}
SCSS
$custom: #9da827;
$custom-light: #bdc16c;
$custom-dark: #000000;
JSON
{
  "hex": "#9da827",
  "rgb": {
    "r": 157,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 65.116,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70014,
    "c": 0.14542,
    "h": 114.5
  },
  "luminance": 0.3532
}

Semantic roles & 50–950 ramp

primary
#9DA827
secondary
#6F67C3
accent
#42E550
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DA827

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

Preview Lab → · Contrast checker → · Palette generator →

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