#9B8E27#9B8E27

#9B8E27 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.0% C 0.120 H 101.9°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9B8E27
RGBrgb(155, 142, 39)
HSLhsl(53, 60%, 38%)
HSVhsv(53, 75%, 61%)
CMYKcmyk(0%, 8.4%, 74.8%, 39.2%)
CIE-LABlab(58.47, -6.93, 53.21)
CIE-LCHlch(58.47, 53.66, 97.42°)
OKLaboklab(63.97% -0.0247 0.1173)
OKLCHoklch(63.97% 0.12 101.9)
XYZxyz(23.5579, 26.4621, 5.7859)
Luminance0.2646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8E27 #27349B
analogous
#9B5427 #9B8E27 #6E9B27
triadic
#9B8E27 #279B8E #8E279B
tetradic
#9B8E27 #279B54 #27349B #9B276E
square
#9B8E27 #279B54 #27349B #9B276E
split-complementary
#9B8E27 #276E9B #54279B
monochromatic
#39340E #6A611B #9B8E27 #CCBB33 #D8CB64

Accessibility & contrast

On white

3.34
#9B8E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#9B8E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8E27
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8E27#FFFFFF#000000##000000
##9B8E271.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A14
Deuteranopia (green-blind)
#9F8F2E
Tritanopia (blue-blind)
#A7847A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9b8e27;
/* rgb */ color: rgb(155, 142, 39);
/* oklch */ color: oklch(64.0% 0.120 101.9);
Tailwind
colors: {
  custom: {
    50: '#bcae69',
    500: '#9b8e27',
    950: '#000000',
  },
}
SCSS
$custom: #9b8e27;
$custom-light: #bcae69;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8e27",
  "rgb": {
    "r": 155,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 53.276,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63965,
    "c": 0.11985,
    "h": 101.9
  },
  "luminance": 0.26461
}

Semantic roles & 50–950 ramp

primary
#9B8E27
secondary
#606ABE
accent
#57E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B8E27

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

Preview Lab → · Contrast checker → · Palette generator →

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