#9DA826#9DA826

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

Color values

HEX#9DA826
RGBrgb(157, 168, 38)
HSLhsl(65, 63%, 40%)
HSVhsv(65, 77%, 66%)
CMYKcmyk(6.5%, 0%, 77.4%, 34.1%)
CIE-LABlab(65.99, -19.70, 60.64)
CIE-LCHlch(65.99, 63.76, 108.00°)
OKLaboklab(70.01% -0.0606 0.1328)
OKLCHoklch(70.01% 0.146 114.5)
XYZxyz(28.2580, 35.3138, 7.1610)
Luminance0.3531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA826 #3126A8
analogous
#A87226 #9DA826 #5CA826
triadic
#9DA826 #269DA8 #A8269D
tetradic
#9DA826 #26A872 #3126A8 #A8265C
square
#9DA826 #26A872 #3126A8 #A8265C
split-complementary
#9DA826 #265CA8 #7226A8
monochromatic
#40440F #6E761B #9DA826 #C5D239 #D4DE6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DA826#FFFFFF#000000##000000
##9DA8261.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)
#B59F01
Deuteranopia (green-blind)
#B4A132
Tritanopia (blue-blind)
#A89E90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9da826;
/* rgb */ color: rgb(157, 168, 38);
/* oklch */ color: oklch(70.0% 0.146 114.5);
Tailwind
colors: {
  custom: {
    50: '#bdc16c',
    500: '#9da826',
    950: '#000000',
  },
}
SCSS
$custom: #9da826;
$custom-light: #bdc16c;
$custom-dark: #000000;
JSON
{
  "hex": "#9da826",
  "rgb": {
    "r": 157,
    "g": 168,
    "b": 38
  },
  "hsl": {
    "h": 65.077,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.70008,
    "c": 0.14595,
    "h": 114.5
  },
  "luminance": 0.35313
}

Semantic roles & 50–950 ramp

primary
#9DA826
secondary
#6E66C4
accent
#42E650
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DA826

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

Preview Lab → · Contrast checker → · Palette generator →

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