#918D2F#918D2F

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

Color values

HEX#918D2F
RGBrgb(145, 141, 47)
HSLhsl(58, 51%, 38%)
HSVhsv(58, 68%, 57%)
CMYKcmyk(0%, 2.8%, 67.6%, 43.1%)
CIE-LABlab(57.34, -10.47, 48.60)
CIE-LCHlch(57.34, 49.71, 102.15°)
OKLaboklab(62.87% -0.0332 0.1094)
OKLCHoklch(62.87% 0.114 106.9)
XYZxyz(21.7158, 25.2755, 6.4235)
Luminance0.2527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918D2F #2F3391
analogous
#915C2F #918D2F #64912F
triadic
#918D2F #2F918D #8D2F91
tetradic
#918D2F #2F915C #2F3391 #912F64
square
#918D2F #2F915C #2F3391 #912F64
split-complementary
#918D2F #2F6491 #5C2F91
monochromatic
#353311 #636020 #918D2F #BFBA3E #CFCB6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##918D2F#FFFFFF#000000##000000
##918D2F1.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)
#998822
Deuteranopia (green-blind)
#9B8B35
Tritanopia (blue-blind)
#9B847A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #918d2f;
/* rgb */ color: rgb(145, 141, 47);
/* oklch */ color: oklch(62.9% 0.114 106.9);
Tailwind
colors: {
  custom: {
    50: '#b4ae6d',
    500: '#918d2f',
    950: '#000000',
  },
}
SCSS
$custom: #918d2f;
$custom-light: #b4ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#918d2f",
  "rgb": {
    "r": 145,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 57.551,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62866,
    "c": 0.11428,
    "h": 106.9
  },
  "luminance": 0.25275
}

Semantic roles & 50–950 ramp

primary
#918D2F
secondary
#6569B6
accent
#53DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #918D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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