#9DA11F#9DA11F

#9DA11F is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.4% C 0.142 H 111.5°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#9DA11F
RGBrgb(157, 161, 31)
HSLhsl(62, 68%, 38%)
HSVhsv(62, 81%, 63%)
CMYKcmyk(2.5%, 0%, 80.7%, 36.9%)
CIE-LABlab(63.96, -16.40, 60.92)
CIE-LCHlch(63.96, 63.09, 105.07°)
OKLaboklab(68.37% -0.052 0.1321)
OKLCHoklch(68.37% 0.142 111.5)
XYZxyz(26.8978, 32.7575, 6.2020)
Luminance0.3276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA11F #231FA1
analogous
#A1641F #9DA11F #5CA11F
triadic
#9DA11F #1F9DA1 #A11F9D
tetradic
#9DA11F #1FA164 #231FA1 #A11F5C
square
#9DA11F #1FA164 #231FA1 #A11F5C
split-complementary
#9DA11F #1F5CA1 #641FA1
monochromatic
#393A0B #6B6E15 #9DA11F #CFD429 #DBDF5B

Accessibility & contrast

On white

2.78
#9DA11F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#9DA11F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA11F
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA11F#FFFFFF#000000##000000
##9DA11F1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AF9C2B
Tritanopia (blue-blind)
#A8978A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9da11f;
/* rgb */ color: rgb(157, 161, 31);
/* oklch */ color: oklch(68.4% 0.142 111.5);
Tailwind
colors: {
  custom: {
    50: '#bebc68',
    500: '#9da11f',
    950: '#000000',
  },
}
SCSS
$custom: #9da11f;
$custom-light: #bebc68;
$custom-dark: #000000;
JSON
{
  "hex": "#9da11f",
  "rgb": {
    "r": 157,
    "g": 161,
    "b": 31
  },
  "hsl": {
    "h": 61.846,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.68373,
    "c": 0.14197,
    "h": 111.5
  },
  "luminance": 0.32757
}

Semantic roles & 50–950 ramp

primary
#9DA11F
secondary
#5C58C4
accent
#3DEB43
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9DA11F

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

Preview Lab → · Contrast checker → · Palette generator →

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