#917E27#917E27

#917E27 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.4% C 0.106 H 96.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#917E27
RGBrgb(145, 126, 39)
HSLhsl(49, 58%, 36%)
HSVhsv(49, 73%, 57%)
CMYKcmyk(0%, 13.1%, 73.1%, 43.1%)
CIE-LABlab(53.05, -2.69, 47.61)
CIE-LCHlch(53.05, 47.68, 93.24°)
OKLaboklab(59.44% -0.0121 0.1058)
OKLCHoklch(59.44% 0.107 96.5)
XYZxyz(19.5051, 21.0890, 4.9623)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917E27 #273A91
analogous
#914927 #917E27 #6F9127
triadic
#917E27 #27917E #7E2791
tetradic
#917E27 #279149 #273A91 #91276F
square
#917E27 #279149 #273A91 #91276F
split-complementary
#917E27 #276F91 #492791
monochromatic
#312A0D #61541A #917E27 #C1A834 #D4BF5F

Accessibility & contrast

On white

4.02
#917E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#917E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917E27
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917E27#FFFFFF#000000##000000
##917E271.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1A
Deuteranopia (green-blind)
#90812C
Tritanopia (blue-blind)
#9D746D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #917e27;
/* rgb */ color: rgb(145, 126, 39);
/* oklch */ color: oklch(59.4% 0.106 96.5);
Tailwind
colors: {
  custom: {
    50: '#b5a367',
    500: '#917e27',
    950: '#000000',
  },
}
SCSS
$custom: #917e27;
$custom-light: #b5a367;
$custom-dark: #000000;
JSON
{
  "hex": "#917e27",
  "rgb": {
    "r": 145,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 49.245,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59435,
    "c": 0.1065,
    "h": 96.5
  },
  "luminance": 0.21088
}

Semantic roles & 50–950 ramp

primary
#917E27
secondary
#5B6CB9
accent
#63E147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #917E27

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

Preview Lab → · Contrast checker → · Palette generator →

#917E27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva