#8D9237#8D9237

#8D9237 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 63.7% C 0.114 H 112.2°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8D9237
RGBrgb(141, 146, 55)
HSLhsl(63, 45%, 39%)
HSVhsv(63, 62%, 57%)
CMYKcmyk(3.4%, 0%, 62.3%, 42.7%)
CIE-LABlab(58.51, -14.37, 46.21)
CIE-LCHlch(58.51, 48.40, 107.27°)
OKLaboklab(63.73% -0.0431 0.1057)
OKLCHoklch(63.73% 0.114 112.2)
XYZxyz(21.9536, 26.4968, 7.5716)
Luminance0.2650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9237 #3C3792
analogous
#926A37 #8D9237 #609237
triadic
#8D9237 #378D92 #92378D
tetradic
#8D9237 #37926A #3C3792 #923760
square
#8D9237 #37926A #3C3792 #923760
split-complementary
#8D9237 #376092 #6A3792
monochromatic
#373916 #626626 #8D9237 #B5BB4B #C7CC77

Accessibility & contrast

On white

3.33
#8D9237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#8D9237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9237
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9237#FFFFFF#000000##000000
##8D92371.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C2C
Deuteranopia (green-blind)
#9D8E3D
Tritanopia (blue-blind)
#968A7F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d9237;
/* rgb */ color: rgb(141, 146, 55);
/* oklch */ color: oklch(63.7% 0.114 112.2);
Tailwind
colors: {
  custom: {
    50: '#b1b172',
    500: '#8d9237',
    950: '#000000',
  },
}
SCSS
$custom: #8d9237;
$custom-light: #b1b172;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9237",
  "rgb": {
    "r": 141,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 63.297,
    "s": 45.274,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63733,
    "c": 0.11411,
    "h": 112.2
  },
  "luminance": 0.26496
}

Semantic roles & 50–950 ramp

primary
#8D9237
secondary
#7470B5
accent
#53D55A
background
#FBFAF7
surface
#F6F5ED
border
#D0CFC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8D9237

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

Preview Lab → · Contrast checker → · Palette generator →

#8D9237 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva