#8F9538#8F9538

#8F9538 is a light, moderate yellow. Relative luminance 0.276; OKLCH L 64.6% C 0.116 H 112.7°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8F9538
RGBrgb(143, 149, 56)
HSLhsl(64, 45%, 40%)
HSVhsv(64, 62%, 58%)
CMYKcmyk(4%, 0%, 62.4%, 41.6%)
CIE-LABlab(59.54, -15.00, 46.93)
CIE-LCHlch(59.54, 49.27, 107.72°)
OKLaboklab(64.61% -0.0449 0.1073)
OKLCHoklch(64.61% 0.116 112.7)
XYZxyz(22.7895, 27.6205, 7.8714)
Luminance0.2762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9538 #3E3895
analogous
#956C38 #8F9538 #609538
triadic
#8F9538 #388F95 #95388F
tetradic
#8F9538 #38956C #3E3895 #953860
square
#8F9538 #38956C #3E3895 #953860
split-complementary
#8F9538 #386095 #6C3895
monochromatic
#3A3C17 #646927 #8F9538 #B5BC4E #C8CD7A

Accessibility & contrast

On white

3.22
#8F9538 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#8F9538 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9538
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9538#FFFFFF#000000##000000
##8F95381.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E2D
Deuteranopia (green-blind)
#A0903E
Tritanopia (blue-blind)
#988C81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8f9538;
/* rgb */ color: rgb(143, 149, 56);
/* oklch */ color: oklch(64.6% 0.116 112.7);
Tailwind
colors: {
  custom: {
    50: '#b2b473',
    500: '#8f9538',
    950: '#000000',
  },
}
SCSS
$custom: #8f9538;
$custom-light: #b2b473;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9538",
  "rgb": {
    "r": 143,
    "g": 149,
    "b": 56
  },
  "hsl": {
    "h": 63.871,
    "s": 45.366,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64607,
    "c": 0.11629,
    "h": 112.7
  },
  "luminance": 0.2762
}

Semantic roles & 50–950 ramp

primary
#8F9538
secondary
#7773B6
accent
#53D55B
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8F9538

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

Preview Lab → · Contrast checker → · Palette generator →

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