#918B2B#918B2B

#918B2B is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.4% C 0.115 H 105.8°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#918B2B
RGBrgb(145, 139, 43)
HSLhsl(56, 54%, 37%)
HSVhsv(56, 70%, 57%)
CMYKcmyk(0%, 4.1%, 70.3%, 43.1%)
CIE-LABlab(56.74, -9.62, 49.65)
CIE-LCHlch(56.74, 50.57, 100.97°)
OKLaboklab(62.38% -0.0313 0.1109)
OKLCHoklch(62.38% 0.115 105.8)
XYZxyz(21.3465, 24.6602, 5.9205)
Luminance0.2466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918B2B #2B3191
analogous
#91582B #918B2B #64912B
triadic
#918B2B #2B918B #8B2B91
tetradic
#918B2B #2B9158 #2B3191 #912B64
square
#918B2B #2B9158 #2B3191 #912B64
split-complementary
#918B2B #2B6491 #582B91
monochromatic
#33310F #625E1D #918B2B #C0B839 #D1CB65

Accessibility & contrast

On white

3.54
#918B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#918B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918B2B
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918B2B#FFFFFF#000000##000000
##918B2B1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861C
Deuteranopia (green-blind)
#998A31
Tritanopia (blue-blind)
#9C8278
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #918b2b;
/* rgb */ color: rgb(145, 139, 43);
/* oklch */ color: oklch(62.4% 0.115 105.8);
Tailwind
colors: {
  custom: {
    50: '#b4ac6b',
    500: '#918b2b',
    950: '#000000',
  },
}
SCSS
$custom: #918b2b;
$custom-light: #b4ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#918b2b",
  "rgb": {
    "r": 145,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 56.471,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62379,
    "c": 0.1152,
    "h": 105.8
  },
  "luminance": 0.24659
}

Semantic roles & 50–950 ramp

primary
#918B2B
secondary
#6065B8
accent
#53DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #918B2B

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

Preview Lab → · Contrast checker → · Palette generator →

#918B2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva