#9DA237#9DA237

#9DA237 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.66:1 contrast (WCAG AA passes).

Color values

HEX#9DA237
RGBrgb(157, 162, 55)
HSLhsl(63, 49%, 43%)
HSVhsv(63, 66%, 64%)
CMYKcmyk(3.1%, 0%, 66%, 36.5%)
CIE-LABlab(64.39, -15.75, 52.83)
CIE-LCHlch(64.39, 55.13, 106.60°)
OKLaboklab(68.76% -0.0479 0.1192)
OKLCHoklch(68.76% 0.129 111.9)
XYZxyz(27.5153, 33.2852, 8.5889)
Luminance0.3328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA237 #3C37A2
analogous
#A27237 #9DA237 #67A237
triadic
#9DA237 #379DA2 #A2379D
tetradic
#9DA237 #37A272 #3C37A2 #A23767
square
#9DA237 #37A272 #3C37A2 #A23767
split-complementary
#9DA237 #3767A2 #7237A2
monochromatic
#444718 #717427 #9DA237 #BFC452 #D0D480

Accessibility & contrast

On white

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

On black

7.66
#9DA237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA237
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA237#FFFFFF#000000##000000
##9DA2371.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9da237;
/* rgb */ color: rgb(157, 162, 55);
/* oklch */ color: oklch(68.8% 0.129 111.9);
Tailwind
colors: {
  custom: {
    50: '#bdbd74',
    500: '#9da237',
    950: '#000000',
  },
}
SCSS
$custom: #9da237;
$custom-light: #bdbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#9da237",
  "rgb": {
    "r": 157,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 62.804,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.6876,
    "c": 0.12852,
    "h": 111.9
  },
  "luminance": 0.33285
}

Semantic roles & 50–950 ramp

primary
#9DA237
secondary
#7B78BD
accent
#4FD955
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DA237

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

Preview Lab → · Contrast checker → · Palette generator →

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