#9B8E29#9B8E29

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

Color values

HEX#9B8E29
RGBrgb(155, 142, 41)
HSLhsl(53, 58%, 38%)
HSVhsv(53, 74%, 61%)
CMYKcmyk(0%, 8.4%, 73.5%, 39.2%)
CIE-LABlab(58.49, -6.83, 52.46)
CIE-LCHlch(58.49, 52.91, 97.42°)
OKLaboklab(63.98% -0.0242 0.1161)
OKLCHoklch(63.98% 0.119 101.8)
XYZxyz(23.5919, 26.4757, 5.9650)
Luminance0.2647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8E29 #29369B
analogous
#9B5529 #9B8E29 #6F9B29
triadic
#9B8E29 #299B8E #8E299B
tetradic
#9B8E29 #299B55 #29369B #9B296F
square
#9B8E29 #299B55 #29369B #9B296F
split-complementary
#9B8E29 #296F9B #55299B
monochromatic
#3A350F #6B621C #9B8E29 #CAB937 #D7CA67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B8E29#FFFFFF#000000##000000
##9B8E291.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)
#9B8A18
Deuteranopia (green-blind)
#9F8F30
Tritanopia (blue-blind)
#A7847A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9b8e29;
/* rgb */ color: rgb(155, 142, 41);
/* oklch */ color: oklch(64.0% 0.119 101.8);
Tailwind
colors: {
  custom: {
    50: '#bcae6a',
    500: '#9b8e29',
    950: '#000000',
  },
}
SCSS
$custom: #9b8e29;
$custom-light: #bcae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8e29",
  "rgb": {
    "r": 155,
    "g": 142,
    "b": 41
  },
  "hsl": {
    "h": 53.158,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63979,
    "c": 0.11859,
    "h": 101.8
  },
  "luminance": 0.26475
}

Semantic roles & 50–950 ramp

primary
#9B8E29
secondary
#636DBD
accent
#58E146
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B8E29

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

Preview Lab → · Contrast checker → · Palette generator →

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