#918A2C#918A2C

#918A2C is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.2% C 0.114 H 105.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#918A2C
RGBrgb(145, 138, 44)
HSLhsl(56, 53%, 37%)
HSVhsv(56, 70%, 57%)
CMYKcmyk(0%, 4.8%, 69.7%, 43.1%)
CIE-LABlab(56.47, -9.02, 48.96)
CIE-LCHlch(56.47, 49.78, 100.44°)
OKLaboklab(62.16% -0.0295 0.1096)
OKLCHoklch(62.16% 0.114 105.1)
XYZxyz(21.2210, 24.3793, 5.9702)
Luminance0.2438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918A2C #2C3391
analogous
#91582C #918A2C #65912C
triadic
#918A2C #2C918A #8A2C91
tetradic
#918A2C #2C9158 #2C3391 #912C65
square
#918A2C #2C9158 #2C3391 #912C65
split-complementary
#918A2C #2C6591 #582C91
monochromatic
#333110 #625D1E #918A2C #C0B73A #D1C967

Accessibility & contrast

On white

3.57
#918A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#918A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918A2C
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918A2C#FFFFFF#000000##000000
##918A2C1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851E
Deuteranopia (green-blind)
#998932
Tritanopia (blue-blind)
#9C8177
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #918a2c;
/* rgb */ color: rgb(145, 138, 44);
/* oklch */ color: oklch(62.2% 0.114 105.1);
Tailwind
colors: {
  custom: {
    50: '#b4ab6b',
    500: '#918a2c',
    950: '#000000',
  },
}
SCSS
$custom: #918a2c;
$custom-light: #b4ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#918a2c",
  "rgb": {
    "r": 145,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 55.842,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6216,
    "c": 0.1135,
    "h": 105.1
  },
  "luminance": 0.24379
}

Semantic roles & 50–950 ramp

primary
#918A2C
secondary
#6267B7
accent
#55DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #918A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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