#9DA236#9DA236

#9DA236 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.8% C 0.129 H 111.9°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9DA236
RGBrgb(157, 162, 54)
HSLhsl(63, 50%, 42%)
HSVhsv(63, 67%, 64%)
CMYKcmyk(3.1%, 0%, 66.7%, 36.5%)
CIE-LABlab(64.38, -15.81, 53.24)
CIE-LCHlch(64.38, 55.54, 106.54°)
OKLaboklab(68.75% -0.0482 0.1199)
OKLCHoklch(68.75% 0.129 111.9)
XYZxyz(27.4916, 33.2757, 8.4640)
Luminance0.3327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA236 #3B36A2
analogous
#A27136 #9DA236 #67A236
triadic
#9DA236 #369DA2 #A2369D
tetradic
#9DA236 #36A271 #3B36A2 #A23667
square
#9DA236 #36A271 #3B36A2 #A23667
split-complementary
#9DA236 #3667A2 #7136A2
monochromatic
#444617 #717427 #9DA236 #BFC550 #D0D47E

Accessibility & contrast

On white

2.74
#9DA236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#9DA236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA236
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA236#FFFFFF#000000##000000
##9DA2361.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B27
Deuteranopia (green-blind)
#AF9D3D
Tritanopia (blue-blind)
#A7988C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9da236;
/* rgb */ color: rgb(157, 162, 54);
/* oklch */ color: oklch(68.8% 0.129 111.9);
Tailwind
colors: {
  custom: {
    50: '#bdbd73',
    500: '#9da236',
    950: '#000000',
  },
}
SCSS
$custom: #9da236;
$custom-light: #bdbd73;
$custom-dark: #000000;
JSON
{
  "hex": "#9da236",
  "rgb": {
    "r": 157,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 62.778,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68752,
    "c": 0.12927,
    "h": 111.9
  },
  "luminance": 0.33275
}

Semantic roles & 50–950 ramp

primary
#9DA236
secondary
#7A77BD
accent
#4EDA55
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DA236

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

Preview Lab → · Contrast checker → · Palette generator →

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