#9D9F26#9D9F26

#9D9F26 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.0% C 0.136 H 110.5°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9D9F26
RGBrgb(157, 159, 38)
HSLhsl(61, 61%, 39%)
HSVhsv(61, 76%, 62%)
CMYKcmyk(1.3%, 0%, 76.1%, 37.6%)
CIE-LABlab(63.43, -15.10, 58.28)
CIE-LCHlch(63.43, 60.20, 104.52°)
OKLaboklab(67.96% -0.0478 0.1278)
OKLCHoklch(67.96% 0.136 110.5)
XYZxyz(26.6536, 32.1051, 6.6262)
Luminance0.3210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9F26 #28269F
analogous
#9F6426 #9D9F26 #609F26
triadic
#9D9F26 #269D9F #9F269D
tetradic
#9D9F26 #269F64 #28269F #9F2660
square
#9D9F26 #269F64 #28269F #9F2660
split-complementary
#9D9F26 #26609F #64269F
monochromatic
#3B3C0E #6C6E1A #9D9F26 #CCCE34 #D8DA65

Accessibility & contrast

On white

2.83
#9D9F26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#9D9F26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9F26
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9F26#FFFFFF#000000##000000
##9D9F261.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9808
Deuteranopia (green-blind)
#AD9B30
Tritanopia (blue-blind)
#A89588
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9d9f26;
/* rgb */ color: rgb(157, 159, 38);
/* oklch */ color: oklch(68.0% 0.136 110.5);
Tailwind
colors: {
  custom: {
    50: '#bdbb6b',
    500: '#9d9f26',
    950: '#000000',
  },
}
SCSS
$custom: #9d9f26;
$custom-light: #bdbb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9f26",
  "rgb": {
    "r": 157,
    "g": 159,
    "b": 38
  },
  "hsl": {
    "h": 60.992,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67956,
    "c": 0.13642,
    "h": 110.5
  },
  "luminance": 0.32104
}

Semantic roles & 50–950 ramp

primary
#9D9F26
secondary
#6261C0
accent
#43E546
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9F26

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

Preview Lab → · Contrast checker → · Palette generator →

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