#918D2D#918D2D

#918D2D is a light, moderate yellow. Relative luminance 0.253; OKLCH L 62.8% C 0.116 H 107.0°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#918D2D
RGBrgb(145, 141, 45)
HSLhsl(58, 53%, 37%)
HSVhsv(58, 69%, 57%)
CMYKcmyk(0%, 2.8%, 69%, 43.1%)
CIE-LABlab(57.33, -10.58, 49.42)
CIE-LCHlch(57.33, 50.54, 102.09°)
OKLaboklab(62.85% -0.0338 0.1107)
OKLCHoklch(62.85% 0.116 107)
XYZxyz(21.6764, 25.2597, 6.2159)
Luminance0.2526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918D2D #2D3191
analogous
#915B2D #918D2D #63912D
triadic
#918D2D #2D918D #8D2D91
tetradic
#918D2D #2D915B #2D3191 #912D63
square
#918D2D #2D915B #2D3191 #912D63
split-complementary
#918D2D #2D6391 #5B2D91
monochromatic
#343210 #62601F #918D2D #C0BA3B #D0CC68

Accessibility & contrast

On white

3.47
#918D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#918D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918D2D
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918D2D#FFFFFF#000000##000000
##918D2D1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#99881F
Deuteranopia (green-blind)
#9B8B33
Tritanopia (blue-blind)
#9C847A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #918d2d;
/* rgb */ color: rgb(145, 141, 45);
/* oklch */ color: oklch(62.8% 0.116 107.0);
Tailwind
colors: {
  custom: {
    50: '#b4ae6c',
    500: '#918d2d',
    950: '#000000',
  },
}
SCSS
$custom: #918d2d;
$custom-light: #b4ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#918d2d",
  "rgb": {
    "r": 145,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 57.6,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62849,
    "c": 0.11577,
    "h": 107
  },
  "luminance": 0.25259
}

Semantic roles & 50–950 ramp

primary
#918D2D
secondary
#6366B7
accent
#52DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #918D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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