#918B2D#918B2D

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

Color values

HEX#918B2D
RGBrgb(145, 139, 45)
HSLhsl(56, 53%, 37%)
HSVhsv(56, 69%, 57%)
CMYKcmyk(0%, 4.1%, 69%, 43.1%)
CIE-LABlab(56.76, -9.51, 48.84)
CIE-LCHlch(56.76, 49.76, 101.02°)
OKLaboklab(62.4% -0.0307 0.1095)
OKLCHoklch(62.4% 0.114 105.7)
XYZxyz(21.3841, 24.6752, 6.1185)
Luminance0.2467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918B2D #2D3391
analogous
#91592D #918B2D #65912D
triadic
#918B2D #2D918B #8B2D91
tetradic
#918B2D #2D9159 #2D3391 #912D65
square
#918B2D #2D9159 #2D3391 #912D65
split-complementary
#918B2D #2D6591 #592D91
monochromatic
#343110 #625E1F #918B2D #C0B83B #D0CA68

Accessibility & contrast

On white

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

On black

5.93
#918B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918B2D
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918B2D#FFFFFF#000000##000000
##918B2D1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #918b2d;
/* rgb */ color: rgb(145, 139, 45);
/* oklch */ color: oklch(62.4% 0.114 105.7);
Tailwind
colors: {
  custom: {
    50: '#b4ac6c',
    500: '#918b2d',
    950: '#000000',
  },
}
SCSS
$custom: #918b2d;
$custom-light: #b4ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#918b2d",
  "rgb": {
    "r": 145,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 56.4,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62395,
    "c": 0.11375,
    "h": 105.7
  },
  "luminance": 0.24674
}

Semantic roles & 50–950 ramp

primary
#918B2D
secondary
#6368B7
accent
#54DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #918B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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