#9B8627#9B8627

#9B8627 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.2% C 0.113 H 96.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9B8627
RGBrgb(155, 134, 39)
HSLhsl(49, 60%, 38%)
HSVhsv(49, 75%, 61%)
CMYKcmyk(0%, 13.5%, 74.8%, 39.2%)
CIE-LABlab(56.25, -2.55, 51.08)
CIE-LCHlch(56.25, 51.14, 92.86°)
OKLaboklab(62.21% -0.0123 0.1128)
OKLCHoklch(62.21% 0.113 96.2)
XYZxyz(22.4100, 24.1664, 5.4033)
Luminance0.2417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8627 #273C9B
analogous
#9B4C27 #9B8627 #769B27
triadic
#9B8627 #279B86 #86279B
tetradic
#9B8627 #279B4C #273C9B #9B2776
square
#9B8627 #279B4C #273C9B #9B2776
split-complementary
#9B8627 #27769B #4C279B
monochromatic
#39310E #6A5C1B #9B8627 #CCB033 #D8C364

Accessibility & contrast

On white

3.60
#9B8627 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#9B8627 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8627
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8627#FFFFFF#000000##000000
##9B86271.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948317
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#A87B73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9b8627;
/* rgb */ color: rgb(155, 134, 39);
/* oklch */ color: oklch(62.2% 0.113 96.2);
Tailwind
colors: {
  custom: {
    50: '#bca868',
    500: '#9b8627',
    950: '#000000',
  },
}
SCSS
$custom: #9b8627;
$custom-light: #bca868;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8627",
  "rgb": {
    "r": 155,
    "g": 134,
    "b": 39
  },
  "hsl": {
    "h": 49.138,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62205,
    "c": 0.11343,
    "h": 96.2
  },
  "luminance": 0.24165
}

Semantic roles & 50–950 ramp

primary
#9B8627
secondary
#6071BE
accent
#61E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9B8627

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

Preview Lab → · Contrast checker → · Palette generator →

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