#918837#918837

#918837 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.8% C 0.103 H 103.0°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#918837
RGBrgb(145, 136, 55)
HSLhsl(54, 45%, 39%)
HSVhsv(54, 62%, 57%)
CMYKcmyk(0%, 6.2%, 62.1%, 43.1%)
CIE-LABlab(55.99, -7.22, 43.58)
CIE-LCHlch(55.99, 44.17, 99.41°)
OKLaboklab(61.81% -0.0231 0.1)
OKLCHoklch(61.81% 0.103 103)
XYZxyz(21.1716, 23.9047, 7.1125)
Luminance0.2390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918837 #374091
analogous
#915B37 #918837 #6D9137
triadic
#918837 #379188 #883791
tetradic
#918837 #37915B #374091 #91376D
square
#918837 #37915B #374091 #91376D
split-complementary
#918837 #376D91 #5B3791
monochromatic
#383515 #655E26 #918837 #BBAF4B #CBC377

Accessibility & contrast

On white

3.63
#918837 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#918837 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918837
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918837#FFFFFF#000000##000000
##9188371.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842E
Deuteranopia (green-blind)
#96883B
Tritanopia (blue-blind)
#9B7F77
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #918837;
/* rgb */ color: rgb(145, 136, 55);
/* oklch */ color: oklch(61.8% 0.103 103.0);
Tailwind
colors: {
  custom: {
    50: '#b4aa71',
    500: '#918837',
    950: '#000000',
  },
}
SCSS
$custom: #918837;
$custom-light: #b4aa71;
$custom-dark: #000000;
JSON
{
  "hex": "#918837",
  "rgb": {
    "r": 145,
    "g": 136,
    "b": 55
  },
  "hsl": {
    "h": 54,
    "s": 45,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61814,
    "c": 0.10261,
    "h": 103
  },
  "luminance": 0.23904
}

Semantic roles & 50–950 ramp

primary
#918837
secondary
#7076B4
accent
#60D553
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #918837

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

Preview Lab → · Contrast checker → · Palette generator →

#918837 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva