#918F2D#918F2D

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

Color values

HEX#918F2D
RGBrgb(145, 143, 45)
HSLhsl(59, 53%, 37%)
HSVhsv(59, 69%, 57%)
CMYKcmyk(0%, 1.4%, 69%, 43.1%)
CIE-LABlab(57.90, -11.66, 49.99)
CIE-LCHlch(57.90, 51.34, 103.12°)
OKLaboklab(63.31% -0.0368 0.112)
OKLCHoklch(63.31% 0.118 108.2)
XYZxyz(21.9739, 25.8548, 6.3151)
Luminance0.2585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918F2D #2D2F91
analogous
#915D2D #918F2D #61912D
triadic
#918F2D #2D918F #8F2D91
tetradic
#918F2D #2D915D #2D2F91 #912D61
square
#918F2D #2D915D #2D2F91 #912D61
split-complementary
#918F2D #2D6191 #5D2D91
monochromatic
#343310 #62611F #918F2D #C0BD3B #D0CE68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #918f2d;
/* rgb */ color: rgb(145, 143, 45);
/* oklch */ color: oklch(63.3% 0.118 108.2);
Tailwind
colors: {
  custom: {
    50: '#b4af6c',
    500: '#918f2d',
    950: '#000000',
  },
}
SCSS
$custom: #918f2d;
$custom-light: #b4af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#918f2d",
  "rgb": {
    "r": 145,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 58.8,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63305,
    "c": 0.11785,
    "h": 108.2
  },
  "luminance": 0.25854
}

Semantic roles & 50–950 ramp

primary
#918F2D
secondary
#6365B7
accent
#4FDC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #918F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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