#9D9E1F#9D9E1F

#9D9E1F is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.7% C 0.139 H 110.1°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9D9E1F
RGBrgb(157, 158, 31)
HSLhsl(60, 67%, 37%)
HSVhsv(60, 80%, 62%)
CMYKcmyk(0.6%, 0%, 80.4%, 38%)
CIE-LABlab(63.11, -14.85, 60.17)
CIE-LCHlch(63.11, 61.97, 103.87°)
OKLaboklab(67.69% -0.0477 0.1305)
OKLCHoklch(67.69% 0.139 110.1)
XYZxyz(26.3798, 31.7215, 6.0293)
Luminance0.3172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9E1F #201F9E
analogous
#9E5F1F #9D9E1F #5E9E1F
triadic
#9D9E1F #1F9D9E #9E1F9D
tetradic
#9D9E1F #1F9E5F #201F9E #9E1F5E
square
#9D9E1F #1F9E5F #201F9E #9E1F5E
split-complementary
#9D9E1F #1F5E9E #5F1F9E
monochromatic
#37380B #6A6B15 #9D9E1F #D0D129 #DDDE59

Accessibility & contrast

On white

2.86
#9D9E1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#9D9E1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9E1F
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9E1F#FFFFFF#000000##000000
##9D9E1F1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AC9A2B
Tritanopia (blue-blind)
#A99387
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9d9e1f;
/* rgb */ color: rgb(157, 158, 31);
/* oklch */ color: oklch(67.7% 0.139 110.1);
Tailwind
colors: {
  custom: {
    50: '#beba67',
    500: '#9d9e1f',
    950: '#000000',
  },
}
SCSS
$custom: #9d9e1f;
$custom-light: #beba67;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9e1f",
  "rgb": {
    "r": 157,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 60.472,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.67691,
    "c": 0.13894,
    "h": 110.1
  },
  "luminance": 0.31721
}

Semantic roles & 50–950 ramp

primary
#9D9E1F
secondary
#5756C2
accent
#3EEA3F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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