#918D2B#918D2B

#918D2B is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.8% C 0.117 H 107.0°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#918D2B
RGBrgb(145, 141, 43)
HSLhsl(58, 54%, 37%)
HSVhsv(58, 70%, 57%)
CMYKcmyk(0%, 2.8%, 70.3%, 43.1%)
CIE-LABlab(57.31, -10.70, 50.22)
CIE-LCHlch(57.31, 51.35, 102.03°)
OKLaboklab(62.83% -0.0343 0.1121)
OKLCHoklch(62.83% 0.117 107)
XYZxyz(21.6388, 25.2446, 6.0179)
Luminance0.2524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918D2B #2B2F91
analogous
#915A2B #918D2B #62912B
triadic
#918D2B #2B918D #8D2B91
tetradic
#918D2B #2B915A #2B2F91 #912B62
square
#918D2B #2B915A #2B2F91 #912B62
split-complementary
#918D2B #2B6291 #5A2B91
monochromatic
#33310F #625F1D #918D2B #C0BB39 #D1CD65

Accessibility & contrast

On white

3.47
#918D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#918D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918D2B
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918D2B#FFFFFF#000000##000000
##918D2B1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#99881C
Deuteranopia (green-blind)
#9B8B32
Tritanopia (blue-blind)
#9C8479
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #918d2b;
/* rgb */ color: rgb(145, 141, 43);
/* oklch */ color: oklch(62.8% 0.117 107.0);
Tailwind
colors: {
  custom: {
    50: '#b4ae6b',
    500: '#918d2b',
    950: '#000000',
  },
}
SCSS
$custom: #918d2b;
$custom-light: #b4ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#918d2b",
  "rgb": {
    "r": 145,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 57.647,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62833,
    "c": 0.1172,
    "h": 107
  },
  "luminance": 0.25244
}

Semantic roles & 50–950 ramp

primary
#918D2B
secondary
#6064B8
accent
#50DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #918D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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