#9DAF26#9DAF26

#9DAF26 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 71.6% C 0.154 H 117.2°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#9DAF26
RGBrgb(157, 175, 38)
HSLhsl(68, 64%, 42%)
HSVhsv(68, 78%, 69%)
CMYKcmyk(10.3%, 0%, 78.3%, 31.4%)
CIE-LABlab(68.00, -23.20, 62.46)
CIE-LCHlch(68.00, 66.63, 110.38°)
OKLaboklab(71.62% -0.0702 0.1367)
OKLCHoklch(71.62% 0.154 117.2)
XYZxyz(29.5852, 37.9683, 7.6034)
Luminance0.3797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAF26 #3826AF
analogous
#AF7D26 #9DAF26 #59AF26
triadic
#9DAF26 #269DAF #AF269D
tetradic
#9DAF26 #26AF7D #3826AF #AF2659
square
#9DAF26 #26AF7D #3826AF #AF2659
split-complementary
#9DAF26 #2659AF #7D26AF
monochromatic
#434A10 #707D1B #9DAF26 #C1D53D #D1E070

Accessibility & contrast

On white

2.44
#9DAF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#9DAF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAF26
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAF26#FFFFFF#000000##000000
##9DAF261.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#BAA633
Tritanopia (blue-blind)
#A7A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9daf26;
/* rgb */ color: rgb(157, 175, 38);
/* oklch */ color: oklch(71.6% 0.154 117.2);
Tailwind
colors: {
  custom: {
    50: '#bec66d',
    500: '#9daf26',
    950: '#000000',
  },
}
SCSS
$custom: #9daf26;
$custom-light: #bec66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9daf26",
  "rgb": {
    "r": 157,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 67.883,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71619,
    "c": 0.15365,
    "h": 117.2
  },
  "luminance": 0.37968
}

Semantic roles & 50–950 ramp

primary
#9DAF26
secondary
#766AC7
accent
#40E756
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9DAF26

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

Preview Lab → · Contrast checker → · Palette generator →

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