#918F2F#918F2F

#918F2F is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.3% C 0.116 H 108.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#918F2F
RGBrgb(145, 143, 47)
HSLhsl(59, 51%, 38%)
HSVhsv(59, 68%, 57%)
CMYKcmyk(0%, 1.4%, 67.6%, 43.1%)
CIE-LABlab(57.91, -11.54, 49.18)
CIE-LCHlch(57.91, 50.52, 103.20°)
OKLaboklab(63.32% -0.0362 0.1106)
OKLCHoklch(63.32% 0.116 108.1)
XYZxyz(22.0134, 25.8706, 6.5227)
Luminance0.2587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918F2F #2F3191
analogous
#915E2F #918F2F #62912F
triadic
#918F2F #2F918F #8F2F91
tetradic
#918F2F #2F915E #2F3191 #912F62
square
#918F2F #2F915E #2F3191 #912F62
split-complementary
#918F2F #2F6291 #5E2F91
monochromatic
#353411 #636120 #918F2F #BFBD3E #CFCD6B

Accessibility & contrast

On white

3.40
#918F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#918F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918F2F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918F2F#FFFFFF#000000##000000
##918F2F1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8921
Deuteranopia (green-blind)
#9C8D35
Tritanopia (blue-blind)
#9B867C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #918f2f;
/* rgb */ color: rgb(145, 143, 47);
/* oklch */ color: oklch(63.3% 0.116 108.1);
Tailwind
colors: {
  custom: {
    50: '#b4af6d',
    500: '#918f2f',
    950: '#000000',
  },
}
SCSS
$custom: #918f2f;
$custom-light: #b4af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#918f2f",
  "rgb": {
    "r": 145,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 58.776,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63322,
    "c": 0.11637,
    "h": 108.1
  },
  "luminance": 0.2587
}

Semantic roles & 50–950 ramp

primary
#918F2F
secondary
#6567B6
accent
#50DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #918F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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