#9DA226#9DA226

#9DA226 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.6% C 0.140 H 111.9°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9DA226
RGBrgb(157, 162, 38)
HSLhsl(62, 62%, 39%)
HSVhsv(62, 77%, 64%)
CMYKcmyk(3.1%, 0%, 76.5%, 36.5%)
CIE-LABlab(64.28, -16.65, 59.07)
CIE-LCHlch(64.28, 61.37, 105.74°)
OKLaboklab(68.64% -0.0521 0.1294)
OKLCHoklch(68.64% 0.14 111.9)
XYZxyz(27.1757, 33.1494, 6.8003)
Luminance0.3315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA226 #2B26A2
analogous
#A26926 #9DA226 #5FA226
triadic
#9DA226 #269DA2 #A2269D
tetradic
#9DA226 #26A269 #2B26A2 #A2265F
square
#9DA226 #26A269 #2B26A2 #A2265F
split-complementary
#9DA226 #265FA2 #6926A2
monochromatic
#3D3F0F #6D701A #9DA226 #CAD035 #D7DB67

Accessibility & contrast

On white

2.75
#9DA226 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#9DA226 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA226
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA226#FFFFFF#000000##000000
##9DA2261.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A06
Deuteranopia (green-blind)
#AF9D31
Tritanopia (blue-blind)
#A8988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9da226;
/* rgb */ color: rgb(157, 162, 38);
/* oklch */ color: oklch(68.6% 0.140 111.9);
Tailwind
colors: {
  custom: {
    50: '#bdbd6b',
    500: '#9da226',
    950: '#000000',
  },
}
SCSS
$custom: #9da226;
$custom-light: #bdbd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9da226",
  "rgb": {
    "r": 157,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 62.419,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.68638,
    "c": 0.13953,
    "h": 111.9
  },
  "luminance": 0.33149
}

Semantic roles & 50–950 ramp

primary
#9DA226
secondary
#6663C1
accent
#43E549
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9DA226

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

Preview Lab → · Contrast checker → · Palette generator →

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