#8F8A38#8F8A38

#8F8A38 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.1% C 0.104 H 105.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8F8A38
RGBrgb(143, 138, 56)
HSLhsl(57, 44%, 39%)
HSVhsv(57, 61%, 56%)
CMYKcmyk(0%, 3.5%, 60.8%, 43.9%)
CIE-LABlab(56.39, -9.13, 43.49)
CIE-LCHlch(56.39, 44.44, 101.85°)
OKLaboklab(62.09% -0.0283 0.1)
OKLCHoklch(62.09% 0.104 105.8)
XYZxyz(21.1307, 24.3028, 7.3184)
Luminance0.2430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A38 #383D8F
analogous
#8F5F38 #8F8A38 #698F38
triadic
#8F8A38 #388F8A #8A388F
tetradic
#8F8A38 #388F5F #383D8F #8F3869
square
#8F8A38 #388F5F #383D8F #8F3869
split-complementary
#8F8A38 #38698F #5F388F
monochromatic
#373516 #636027 #8F8A38 #B9B24B #CAC577

Accessibility & contrast

On white

3.58
#8F8A38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#8F8A38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8A38
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8A38#FFFFFF#000000##000000
##8F8A381.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95852F
Deuteranopia (green-blind)
#97893D
Tritanopia (blue-blind)
#998178
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8a38;
/* rgb */ color: rgb(143, 138, 56);
/* oklch */ color: oklch(62.1% 0.104 105.8);
Tailwind
colors: {
  custom: {
    50: '#b2ab72',
    500: '#8f8a38',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a38;
$custom-light: #b2ab72;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a38",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 56
  },
  "hsl": {
    "h": 56.552,
    "s": 43.719,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6209,
    "c": 0.10391,
    "h": 105.8
  },
  "luminance": 0.24302
}

Semantic roles & 50–950 ramp

primary
#8F8A38
secondary
#7074B3
accent
#5CD354
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8F8A38

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

Preview Lab → · Contrast checker → · Palette generator →

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