#8F8B2E#8F8B2E

#8F8B2E is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.2% C 0.113 H 106.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8F8B2E
RGBrgb(143, 139, 46)
HSLhsl(58, 51%, 37%)
HSVhsv(58, 68%, 56%)
CMYKcmyk(0%, 2.8%, 67.8%, 43.9%)
CIE-LABlab(56.59, -10.35, 48.19)
CIE-LCHlch(56.59, 49.29, 102.12°)
OKLaboklab(62.22% -0.0329 0.1084)
OKLCHoklch(62.22% 0.113 106.9)
XYZxyz(21.0542, 24.5028, 6.2047)
Luminance0.2450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8B2E #2E328F
analogous
#8F5B2E #8F8B2E #638F2E
triadic
#8F8B2E #2E8F8B #8B2E8F
tetradic
#8F8B2E #2E8F5B #2E328F #8F2E63
square
#8F8B2E #2E8F5B #2E328F #8F2E63
split-complementary
#8F8B2E #2E638F #5B2E8F
monochromatic
#323110 #615E1F #8F8B2E #BDB83D #CFCA69

Accessibility & contrast

On white

3.56
#8F8B2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#8F8B2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8B2E
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8B2E#FFFFFF#000000##000000
##8F8B2E1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978621
Deuteranopia (green-blind)
#998934
Tritanopia (blue-blind)
#998278
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8f8b2e;
/* rgb */ color: rgb(143, 139, 46);
/* oklch */ color: oklch(62.2% 0.113 106.9);
Tailwind
colors: {
  custom: {
    50: '#b3ac6c',
    500: '#8f8b2e',
    950: '#000000',
  },
}
SCSS
$custom: #8f8b2e;
$custom-light: #b3ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8b2e",
  "rgb": {
    "r": 143,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 57.526,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6222,
    "c": 0.11325,
    "h": 106.9
  },
  "luminance": 0.24502
}

Semantic roles & 50–950 ramp

primary
#8F8B2E
secondary
#6367B6
accent
#53DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F8B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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