#917F25#917F25

#917F25 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.6% C 0.109 H 97.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#917F25
RGBrgb(145, 127, 37)
HSLhsl(50, 59%, 36%)
HSVhsv(50, 74%, 57%)
CMYKcmyk(0%, 12.4%, 74.5%, 43.1%)
CIE-LABlab(53.31, -3.35, 48.68)
CIE-LCHlch(53.31, 48.80, 93.94°)
OKLaboklab(59.64% -0.0142 0.1077)
OKLCHoklch(59.64% 0.109 97.5)
XYZxyz(19.6013, 21.3331, 4.8351)
Luminance0.2133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917F25 #253791
analogous
#914925 #917F25 #6D9125
triadic
#917F25 #25917F #7F2591
tetradic
#917F25 #259149 #253791 #91256D
square
#917F25 #259149 #253791 #91256D
split-complementary
#917F25 #256D91 #492591
monochromatic
#2F2A0C #605419 #917F25 #C2AA31 #D5C15B

Accessibility & contrast

On white

3.99
#917F25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#917F25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917F25
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917F25#FFFFFF#000000##000000
##917F251.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C16
Deuteranopia (green-blind)
#91822B
Tritanopia (blue-blind)
#9D756D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #917f25;
/* rgb */ color: rgb(145, 127, 37);
/* oklch */ color: oklch(59.6% 0.109 97.5);
Tailwind
colors: {
  custom: {
    50: '#b5a366',
    500: '#917f25',
    950: '#000000',
  },
}
SCSS
$custom: #917f25;
$custom-light: #b5a366;
$custom-dark: #000000;
JSON
{
  "hex": "#917f25",
  "rgb": {
    "r": 145,
    "g": 127,
    "b": 37
  },
  "hsl": {
    "h": 50,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5964,
    "c": 0.10862,
    "h": 97.5
  },
  "luminance": 0.21332
}

Semantic roles & 50–950 ramp

primary
#917F25
secondary
#5868BA
accent
#5FE345
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #917F25

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

Preview Lab → · Contrast checker → · Palette generator →

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