#9DA526#9DA526

#9DA526 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.3% C 0.143 H 113.3°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#9DA526
RGBrgb(157, 165, 38)
HSLhsl(64, 63%, 40%)
HSVhsv(64, 77%, 65%)
CMYKcmyk(4.8%, 0%, 77%, 35.3%)
CIE-LABlab(65.14, -18.18, 59.85)
CIE-LCHlch(65.14, 62.55, 106.90°)
OKLaboklab(69.32% -0.0564 0.1311)
OKLCHoklch(69.32% 0.143 113.3)
XYZxyz(27.7105, 34.2189, 6.9785)
Luminance0.3422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA526 #2E26A5
analogous
#A56E26 #9DA526 #5DA526
triadic
#9DA526 #269DA5 #A5269D
tetradic
#9DA526 #26A56E #2E26A5 #A5265D
square
#9DA526 #26A56E #2E26A5 #A5265D
split-complementary
#9DA526 #265DA5 #6E26A5
monochromatic
#3E420F #6E731B #9DA526 #C7D137 #D5DC69

Accessibility & contrast

On white

2.68
#9DA526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#9DA526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA526
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA526#FFFFFF#000000##000000
##9DA5261.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D03
Deuteranopia (green-blind)
#B29F31
Tritanopia (blue-blind)
#A89B8D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9da526;
/* rgb */ color: rgb(157, 165, 38);
/* oklch */ color: oklch(69.3% 0.143 113.3);
Tailwind
colors: {
  custom: {
    50: '#bdbf6b',
    500: '#9da526',
    950: '#000000',
  },
}
SCSS
$custom: #9da526;
$custom-light: #bdbf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9da526",
  "rgb": {
    "r": 157,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 63.78,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69322,
    "c": 0.14271,
    "h": 113.3
  },
  "luminance": 0.34218
}

Semantic roles & 50–950 ramp

primary
#9DA526
secondary
#6A64C3
accent
#42E64C
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DA526

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

Preview Lab → · Contrast checker → · Palette generator →

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