#8F8A2C#8F8A2C

#8F8A2C is a mid, moderate yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.114 H 106.3°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8F8A2C
RGBrgb(143, 138, 44)
HSLhsl(57, 53%, 37%)
HSVhsv(57, 69%, 56%)
CMYKcmyk(0%, 3.5%, 69.2%, 43.9%)
CIE-LABlab(56.29, -9.93, 48.72)
CIE-LCHlch(56.29, 49.72, 101.52°)
OKLaboklab(61.98% -0.0319 0.1092)
OKLCHoklch(61.98% 0.114 106.3)
XYZxyz(20.8716, 24.1992, 5.9539)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A2C #2C318F
analogous
#8F592C #8F8A2C #638F2C
triadic
#8F8A2C #2C8F8A #8A2C8F
tetradic
#8F8A2C #2C8F59 #2C318F #8F2C63
square
#8F8A2C #2C8F59 #2C318F #8F2C63
split-complementary
#8F8A2C #2C638F #592C8F
monochromatic
#31300F #605D1E #8F8A2C #BEB73A #D0CA66

Accessibility & contrast

On white

3.60
#8F8A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8F8A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8A2C
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8A2C#FFFFFF#000000##000000
##8F8A2C1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851E
Deuteranopia (green-blind)
#988932
Tritanopia (blue-blind)
#9A8177
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8a2c;
/* rgb */ color: rgb(143, 138, 44);
/* oklch */ color: oklch(62.0% 0.114 106.3);
Tailwind
colors: {
  custom: {
    50: '#b3ab6b',
    500: '#8f8a2c',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a2c;
$custom-light: #b3ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a2c",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 56.97,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61975,
    "c": 0.11373,
    "h": 106.3
  },
  "luminance": 0.24198
}

Semantic roles & 50–950 ramp

primary
#8F8A2C
secondary
#6165B6
accent
#53DC4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F8A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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