#918D2C#918D2C

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

Color values

HEX#918D2C
RGBrgb(145, 141, 44)
HSLhsl(58, 53%, 37%)
HSVhsv(58, 70%, 57%)
CMYKcmyk(0%, 2.8%, 69.7%, 43.1%)
CIE-LABlab(57.32, -10.64, 49.82)
CIE-LCHlch(57.32, 50.94, 102.06°)
OKLaboklab(62.84% -0.034 0.1114)
OKLCHoklch(62.84% 0.116 107)
XYZxyz(21.6574, 25.2521, 6.1157)
Luminance0.2525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918D2C #2C3091
analogous
#915B2C #918D2C #63912C
triadic
#918D2C #2C918D #8D2C91
tetradic
#918D2C #2C915B #2C3091 #912C63
square
#918D2C #2C915B #2C3091 #912C63
split-complementary
#918D2C #2C6391 #5B2C91
monochromatic
#333210 #625F1E #918D2C #C0BB3A #D1CD67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##918D2C#FFFFFF#000000##000000
##918D2C1.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)
#99881D
Deuteranopia (green-blind)
#9B8B32
Tritanopia (blue-blind)
#9C847A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #918d2c;
/* rgb */ color: rgb(145, 141, 44);
/* oklch */ color: oklch(62.8% 0.116 107.0);
Tailwind
colors: {
  custom: {
    50: '#b4ae6b',
    500: '#918d2c',
    950: '#000000',
  },
}
SCSS
$custom: #918d2c;
$custom-light: #b4ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#918d2c",
  "rgb": {
    "r": 145,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 57.624,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62841,
    "c": 0.11649,
    "h": 107
  },
  "luminance": 0.25251
}

Semantic roles & 50–950 ramp

primary
#918D2C
secondary
#6265B7
accent
#51DD4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #918D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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