#918B2A#918B2A

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

Color values

HEX#918B2A
RGBrgb(145, 139, 42)
HSLhsl(57, 55%, 37%)
HSVhsv(57, 71%, 57%)
CMYKcmyk(0%, 4.1%, 71%, 43.1%)
CIE-LABlab(56.74, -9.68, 50.05)
CIE-LCHlch(56.74, 50.97, 100.94°)
OKLaboklab(62.37% -0.0315 0.1115)
OKLCHoklch(62.37% 0.116 105.8)
XYZxyz(21.3284, 24.6529, 5.8250)
Luminance0.2465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918B2A #2A3091
analogous
#91582A #918B2A #64912A
triadic
#918B2A #2A918B #8B2A91
tetradic
#918B2A #2A9158 #2A3091 #912A64
square
#918B2A #2A9158 #2A3091 #912A64
split-complementary
#918B2A #2A6491 #582A91
monochromatic
#32300F #625E1C #918B2A #C0B838 #D2CC63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##918B2A#FFFFFF#000000##000000
##918B2A1.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)
#97861B
Deuteranopia (green-blind)
#9A8A31
Tritanopia (blue-blind)
#9C8278
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #918b2a;
/* rgb */ color: rgb(145, 139, 42);
/* oklch */ color: oklch(62.4% 0.116 105.8);
Tailwind
colors: {
  custom: {
    50: '#b4ac6a',
    500: '#918b2a',
    950: '#000000',
  },
}
SCSS
$custom: #918b2a;
$custom-light: #b4ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#918b2a",
  "rgb": {
    "r": 145,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 56.505,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62371,
    "c": 0.1159,
    "h": 105.8
  },
  "luminance": 0.24652
}

Semantic roles & 50–950 ramp

primary
#918B2A
secondary
#5F64B8
accent
#52DE49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #918B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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