#9DA438#9DA438

#9DA438 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.2% C 0.130 H 112.9°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9DA438
RGBrgb(157, 164, 56)
HSLhsl(64, 49%, 43%)
HSVhsv(64, 66%, 64%)
CMYKcmyk(4.3%, 0%, 65.9%, 35.7%)
CIE-LABlab(64.97, -16.72, 53.01)
CIE-LCHlch(64.97, 55.59, 107.50°)
OKLaboklab(69.22% -0.0506 0.1198)
OKLCHoklch(69.22% 0.13 112.9)
XYZxyz(27.8947, 34.0051, 8.8348)
Luminance0.3401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA438 #3F38A4
analogous
#A47538 #9DA438 #67A438
triadic
#9DA438 #389DA4 #A4389D
tetradic
#9DA438 #38A475 #3F38A4 #A43867
square
#9DA438 #38A475 #3F38A4 #A43867
split-complementary
#9DA438 #3867A4 #7538A4
monochromatic
#464919 #717628 #9DA438 #BDC554 #CFD482

Accessibility & contrast

On white

2.69
#9DA438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#9DA438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA438
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA438#FFFFFF#000000##000000
##9DA4381.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C29
Deuteranopia (green-blind)
#B09F3F
Tritanopia (blue-blind)
#A79A8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9da438;
/* rgb */ color: rgb(157, 164, 56);
/* oklch */ color: oklch(69.2% 0.130 112.9);
Tailwind
colors: {
  custom: {
    50: '#bdbe74',
    500: '#9da438',
    950: '#000000',
  },
}
SCSS
$custom: #9da438;
$custom-light: #bdbe74;
$custom-dark: #000000;
JSON
{
  "hex": "#9da438",
  "rgb": {
    "r": 157,
    "g": 164,
    "b": 56
  },
  "hsl": {
    "h": 63.889,
    "s": 49.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.69223,
    "c": 0.13001,
    "h": 112.9
  },
  "luminance": 0.34005
}

Semantic roles & 50–950 ramp

primary
#9DA438
secondary
#7E7ABE
accent
#4FD958
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9DA438

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

Preview Lab → · Contrast checker → · Palette generator →

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