#9B8C1E#9B8C1E

#9B8C1E is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.5% C 0.123 H 101.0°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9B8C1E
RGBrgb(155, 140, 30)
HSLhsl(53, 68%, 36%)
HSVhsv(53, 81%, 61%)
CMYKcmyk(0%, 9.7%, 80.6%, 39.2%)
CIE-LABlab(57.87, -6.22, 55.77)
CIE-LCHlch(57.87, 56.11, 96.36°)
OKLaboklab(63.47% -0.0236 0.1209)
OKLCHoklch(63.47% 0.123 101)
XYZxyz(23.1311, 25.8196, 4.9933)
Luminance0.2582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8C1E #1E2D9B
analogous
#9B4E1E #9B8C1E #6C9B1E
triadic
#9B8C1E #1E9B8C #8C1E9B
tetradic
#9B8C1E #1E9B4E #1E2D9B #9B1E6C
square
#9B8C1E #1E9B4E #1E2D9B #9B1E6C
split-complementary
#9B8C1E #1E6C9B #4E1E9B
monochromatic
#342F0A #685E14 #9B8C1E #CEBA28 #DECE55

Accessibility & contrast

On white

3.41
#9B8C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#9B8C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8C1E
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8C1E#FFFFFF#000000##000000
##9B8C1E1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9E8E27
Tritanopia (blue-blind)
#A88178
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9b8c1e;
/* rgb */ color: rgb(155, 140, 30);
/* oklch */ color: oklch(63.5% 0.123 101.0);
Tailwind
colors: {
  custom: {
    50: '#bcad64',
    500: '#9b8c1e',
    950: '#000000',
  },
}
SCSS
$custom: #9b8c1e;
$custom-light: #bcad64;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8c1e",
  "rgb": {
    "r": 155,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 52.8,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63466,
    "c": 0.1232,
    "h": 101
  },
  "luminance": 0.25818
}

Semantic roles & 50–950 ramp

primary
#9B8C1E
secondary
#5360C2
accent
#52EA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9B8C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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