#9B9F1E#9B9F1E

#9B9F1E is a light, vivid yellow. Relative luminance 0.319; OKLCH L 67.7% C 0.141 H 111.5°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#9B9F1E
RGBrgb(155, 159, 30)
HSLhsl(62, 68%, 37%)
HSVhsv(62, 81%, 62%)
CMYKcmyk(2.5%, 0%, 81.1%, 37.6%)
CIE-LABlab(63.23, -16.29, 60.49)
CIE-LCHlch(63.23, 62.65, 105.07°)
OKLaboklab(67.74% -0.0517 0.1311)
OKLCHoklch(67.74% 0.141 111.5)
XYZxyz(26.1510, 31.8593, 5.9999)
Luminance0.3186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9F1E #221E9F
analogous
#9F621E #9B9F1E #5B9F1E
triadic
#9B9F1E #1E9B9F #9F1E9B
tetradic
#9B9F1E #1E9F62 #221E9F #9F1E5B
square
#9B9F1E #1E9F62 #221E9F #9F1E5B
split-complementary
#9B9F1E #1E5B9F #621E9F
monochromatic
#37380B #696C14 #9B9F1E #CDD228 #DBDF58

Accessibility & contrast

On white

2.85
#9B9F1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#9B9F1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9F1E
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9F1E#FFFFFF#000000##000000
##9B9F1E1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AD9B2A
Tritanopia (blue-blind)
#A69588
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9b9f1e;
/* rgb */ color: rgb(155, 159, 30);
/* oklch */ color: oklch(67.7% 0.141 111.5);
Tailwind
colors: {
  custom: {
    50: '#bcbb67',
    500: '#9b9f1e',
    950: '#000000',
  },
}
SCSS
$custom: #9b9f1e;
$custom-light: #bcbb67;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9f1e",
  "rgb": {
    "r": 155,
    "g": 159,
    "b": 30
  },
  "hsl": {
    "h": 61.86,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.67741,
    "c": 0.1409,
    "h": 111.5
  },
  "luminance": 0.31859
}

Semantic roles & 50–950 ramp

primary
#9B9F1E
secondary
#5956C3
accent
#3DEB42
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9B9F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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