#918D2A#918D2A

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

Color values

HEX#918D2A
RGBrgb(145, 141, 42)
HSLhsl(58, 55%, 37%)
HSVhsv(58, 71%, 57%)
CMYKcmyk(0%, 2.8%, 71%, 43.1%)
CIE-LABlab(57.31, -10.75, 50.61)
CIE-LCHlch(57.31, 51.74, 102.00°)
OKLaboklab(62.83% -0.0346 0.1127)
OKLCHoklch(62.83% 0.118 107.1)
XYZxyz(21.6207, 25.2374, 5.9225)
Luminance0.2524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918D2A #2A2E91
analogous
#915A2A #918D2A #62912A
triadic
#918D2A #2A918D #8D2A91
tetradic
#918D2A #2A915A #2A2E91 #912A62
square
#918D2A #2A915A #2A2E91 #912A62
split-complementary
#918D2A #2A6291 #5A2A91
monochromatic
#32310F #625F1C #918D2A #C0BB38 #D2CE63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##918D2A#FFFFFF#000000##000000
##918D2A1.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)
#99871A
Deuteranopia (green-blind)
#9B8B31
Tritanopia (blue-blind)
#9C8479
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #918d2a;
/* rgb */ color: rgb(145, 141, 42);
/* oklch */ color: oklch(62.8% 0.118 107.1);
Tailwind
colors: {
  custom: {
    50: '#b4ae6a',
    500: '#918d2a',
    950: '#000000',
  },
}
SCSS
$custom: #918d2a;
$custom-light: #b4ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#918d2a",
  "rgb": {
    "r": 145,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 57.67,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62825,
    "c": 0.1179,
    "h": 107.1
  },
  "luminance": 0.25237
}

Semantic roles & 50–950 ramp

primary
#918D2A
secondary
#5F62B8
accent
#4FDE49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #918D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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