#918B2F#918B2F

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

Color values

HEX#918B2F
RGBrgb(145, 139, 47)
HSLhsl(56, 51%, 38%)
HSVhsv(56, 68%, 57%)
CMYKcmyk(0%, 4.1%, 67.6%, 43.1%)
CIE-LABlab(56.77, -9.39, 48.01)
CIE-LCHlch(56.77, 48.92, 101.06°)
OKLaboklab(62.41% -0.0302 0.1081)
OKLCHoklch(62.41% 0.112 105.6)
XYZxyz(21.4236, 24.6910, 6.3261)
Luminance0.2469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918B2F #2F3591
analogous
#915A2F #918B2F #66912F
triadic
#918B2F #2F918B #8B2F91
tetradic
#918B2F #2F915A #2F3591 #912F66
square
#918B2F #2F915A #2F3591 #912F66
split-complementary
#918B2F #2F6691 #5A2F91
monochromatic
#353211 #635F20 #918B2F #BFB73E #CFC96B

Accessibility & contrast

On white

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

On black

5.94
#918B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918B2F
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918B2F#FFFFFF#000000##000000
##918B2F1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978622
Deuteranopia (green-blind)
#998A35
Tritanopia (blue-blind)
#9C8278
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #918b2f;
/* rgb */ color: rgb(145, 139, 47);
/* oklch */ color: oklch(62.4% 0.112 105.6);
Tailwind
colors: {
  custom: {
    50: '#b4ac6d',
    500: '#918b2f',
    950: '#000000',
  },
}
SCSS
$custom: #918b2f;
$custom-light: #b4ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#918b2f",
  "rgb": {
    "r": 145,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 56.327,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62413,
    "c": 0.11224,
    "h": 105.6
  },
  "luminance": 0.2469
}

Semantic roles & 50–950 ramp

primary
#918B2F
secondary
#656AB6
accent
#56DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #918B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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