#9DA238#9DA238

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

Color values

HEX#9DA238
RGBrgb(157, 162, 56)
HSLhsl(63, 49%, 43%)
HSVhsv(63, 65%, 64%)
CMYKcmyk(3.1%, 0%, 65.4%, 36.5%)
CIE-LABlab(64.40, -15.69, 52.42)
CIE-LCHlch(64.40, 54.72, 106.66°)
OKLaboklab(68.77% -0.0477 0.1185)
OKLCHoklch(68.77% 0.128 111.9)
XYZxyz(27.5396, 33.2949, 8.7165)
Luminance0.3329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA238 #3D38A2
analogous
#A27238 #9DA238 #68A238
triadic
#9DA238 #389DA2 #A2389D
tetradic
#9DA238 #38A272 #3D38A2 #A23868
square
#9DA238 #38A272 #3D38A2 #A23868
split-complementary
#9DA238 #3868A2 #7238A2
monochromatic
#454719 #717528 #9DA238 #BEC453 #D0D381

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DA238#FFFFFF#000000##000000
##9DA2381.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)
#AE9B2A
Deuteranopia (green-blind)
#AE9D3F
Tritanopia (blue-blind)
#A7988C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9da238;
/* rgb */ color: rgb(157, 162, 56);
/* oklch */ color: oklch(68.8% 0.128 111.9);
Tailwind
colors: {
  custom: {
    50: '#bdbd74',
    500: '#9da238',
    950: '#000000',
  },
}
SCSS
$custom: #9da238;
$custom-light: #bdbd74;
$custom-dark: #000000;
JSON
{
  "hex": "#9da238",
  "rgb": {
    "r": 157,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 62.83,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68769,
    "c": 0.12777,
    "h": 111.9
  },
  "luminance": 0.33294
}

Semantic roles & 50–950 ramp

primary
#9DA238
secondary
#7C79BD
accent
#50D856
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9DA238

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

Preview Lab → · Contrast checker → · Palette generator →

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