#9DA338#9DA338

#9DA338 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.0% C 0.129 H 112.4°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9DA338
RGBrgb(157, 163, 56)
HSLhsl(63, 49%, 43%)
HSVhsv(63, 66%, 64%)
CMYKcmyk(3.7%, 0%, 65.6%, 36.1%)
CIE-LABlab(64.68, -16.20, 52.72)
CIE-LCHlch(64.68, 55.15, 107.09°)
OKLaboklab(69% -0.0491 0.1192)
OKLCHoklch(69% 0.129 112.4)
XYZxyz(27.7164, 33.6486, 8.7754)
Luminance0.3365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA338 #3E38A3
analogous
#A37338 #9DA338 #68A338
triadic
#9DA338 #389DA3 #A3389D
tetradic
#9DA338 #38A373 #3E38A3 #A33868
square
#9DA338 #38A373 #3E38A3 #A33868
split-complementary
#9DA338 #3868A3 #7338A3
monochromatic
#454819 #717528 #9DA338 #BEC454 #CFD482

Accessibility & contrast

On white

2.72
#9DA338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#9DA338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA338
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA338#FFFFFF#000000##000000
##9DA3381.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C2A
Deuteranopia (green-blind)
#AF9E3F
Tritanopia (blue-blind)
#A7998D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9da338;
/* rgb */ color: rgb(157, 163, 56);
/* oklch */ color: oklch(69.0% 0.129 112.4);
Tailwind
colors: {
  custom: {
    50: '#bdbe74',
    500: '#9da338',
    950: '#000000',
  },
}
SCSS
$custom: #9da338;
$custom-light: #bdbe74;
$custom-dark: #000000;
JSON
{
  "hex": "#9da338",
  "rgb": {
    "r": 157,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 63.364,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68996,
    "c": 0.12889,
    "h": 112.4
  },
  "luminance": 0.33648
}

Semantic roles & 50–950 ramp

primary
#9DA338
secondary
#7D79BD
accent
#4FD857
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9DA338

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

Preview Lab → · Contrast checker → · Palette generator →

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