#9B812E#9B812E

#9B812E is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.2% C 0.105 H 91.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9B812E
RGBrgb(155, 129, 46)
HSLhsl(46, 54%, 39%)
HSVhsv(46, 70%, 61%)
CMYKcmyk(0%, 16.8%, 70.3%, 39.2%)
CIE-LABlab(54.94, 0.59, 46.85)
CIE-LCHlch(54.94, 46.85, 89.27°)
OKLaboklab(61.18% -0.0024 0.1052)
OKLCHoklch(61.18% 0.105 91.3)
XYZxyz(21.8621, 22.8676, 5.8466)
Luminance0.2287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B812E #2E489B
analogous
#9B4B2E #9B812E #7F9B2E
triadic
#9B812E #2E9B81 #812E9B
tetradic
#9B812E #2E9B4B #2E489B #9B2E7F
square
#9B812E #2E9B4B #2E489B #9B2E7F
split-complementary
#9B812E #2E7F9B #4B2E9B
monochromatic
#3D3212 #6C5A20 #9B812E #C6A640 #D4BC6F

Accessibility & contrast

On white

3.77
#9B812E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#9B812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B812E
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B812E#FFFFFF#000000##000000
##9B812E1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#968732
Tritanopia (blue-blind)
#A87670
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9b812e;
/* rgb */ color: rgb(155, 129, 46);
/* oklch */ color: oklch(61.2% 0.105 91.3);
Tailwind
colors: {
  custom: {
    50: '#bca56b',
    500: '#9b812e',
    950: '#000000',
  },
}
SCSS
$custom: #9b812e;
$custom-light: #bca56b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b812e",
  "rgb": {
    "r": 155,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 45.688,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6118,
    "c": 0.10518,
    "h": 91.3
  },
  "luminance": 0.22866
}

Semantic roles & 50–950 ramp

primary
#9B812E
secondary
#697DBC
accent
#6DDE4A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9B812E

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

Preview Lab → · Contrast checker → · Palette generator →

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