#9DA538#9DA538

#9DA538 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.5% C 0.131 H 113.4°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#9DA538
RGBrgb(157, 165, 56)
HSLhsl(64, 49%, 43%)
HSVhsv(64, 66%, 65%)
CMYKcmyk(4.8%, 0%, 66.1%, 35.3%)
CIE-LABlab(65.25, -17.23, 53.31)
CIE-LCHlch(65.25, 56.02, 107.91°)
OKLaboklab(69.45% -0.052 0.1204)
OKLCHoklch(69.45% 0.131 113.4)
XYZxyz(28.0743, 34.3644, 8.8947)
Luminance0.3436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA538 #4038A5
analogous
#A57638 #9DA538 #66A538
triadic
#9DA538 #389DA5 #A5389D
tetradic
#9DA538 #38A576 #4038A5 #A53866
square
#9DA538 #38A576 #4038A5 #A53866
split-complementary
#9DA538 #3866A5 #7638A5
monochromatic
#464A19 #727728 #9DA538 #BDC555 #CFD583

Accessibility & contrast

On white

2.67
#9DA538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#9DA538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA538
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA538#FFFFFF#000000##000000
##9DA5381.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D29
Deuteranopia (green-blind)
#B1A040
Tritanopia (blue-blind)
#A79B8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9da538;
/* rgb */ color: rgb(157, 165, 56);
/* oklch */ color: oklch(69.5% 0.131 113.4);
Tailwind
colors: {
  custom: {
    50: '#bdbf75',
    500: '#9da538',
    950: '#000000',
  },
}
SCSS
$custom: #9da538;
$custom-light: #bdbf75;
$custom-dark: #000000;
JSON
{
  "hex": "#9da538",
  "rgb": {
    "r": 157,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 64.404,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69451,
    "c": 0.13115,
    "h": 113.4
  },
  "luminance": 0.34364
}

Semantic roles & 50–950 ramp

primary
#9DA538
secondary
#7F7ABE
accent
#4FD959
background
#FBFBF7
surface
#F7F7ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9DA538

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

Preview Lab → · Contrast checker → · Palette generator →

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