#918F2E#918F2E

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

Color values

HEX#918F2E
RGBrgb(145, 143, 46)
HSLhsl(59, 52%, 37%)
HSVhsv(59, 68%, 57%)
CMYKcmyk(0%, 1.4%, 68.3%, 43.1%)
CIE-LABlab(57.91, -11.60, 49.59)
CIE-LCHlch(57.91, 50.93, 103.16°)
OKLaboklab(63.31% -0.0365 0.1113)
OKLCHoklch(63.31% 0.117 108.2)
XYZxyz(21.9934, 25.8626, 6.4177)
Luminance0.2586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918F2E #2E3091
analogous
#915E2E #918F2E #61912E
triadic
#918F2E #2E918F #8F2E91
tetradic
#918F2E #2E915E #2E3091 #912E61
square
#918F2E #2E915E #2E3091 #912E61
split-complementary
#918F2E #2E6191 #5E2E91
monochromatic
#343311 #63611F #918F2E #BFBD3D #D0CE6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##918F2E#FFFFFF#000000##000000
##918F2E1.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)
#9B8920
Deuteranopia (green-blind)
#9C8D34
Tritanopia (blue-blind)
#9B867B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #918f2e;
/* rgb */ color: rgb(145, 143, 46);
/* oklch */ color: oklch(63.3% 0.117 108.2);
Tailwind
colors: {
  custom: {
    50: '#b4af6d',
    500: '#918f2e',
    950: '#000000',
  },
}
SCSS
$custom: #918f2e;
$custom-light: #b4af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#918f2e",
  "rgb": {
    "r": 145,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 58.788,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63313,
    "c": 0.11712,
    "h": 108.2
  },
  "luminance": 0.25862
}

Semantic roles & 50–950 ramp

primary
#918F2E
secondary
#6466B7
accent
#4FDB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #918F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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