#8F942E#8F942E

#8F942E is a light, vivid yellow. Relative luminance 0.272; OKLCH L 64.3% C 0.123 H 112.1°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8F942E
RGBrgb(143, 148, 46)
HSLhsl(63, 53%, 38%)
HSVhsv(63, 69%, 58%)
CMYKcmyk(3.4%, 0%, 68.9%, 42%)
CIE-LABlab(59.17, -15.13, 50.82)
CIE-LCHlch(59.17, 53.03, 106.58°)
OKLaboklab(64.29% -0.0463 0.1139)
OKLCHoklch(64.29% 0.123 112.1)
XYZxyz(22.4114, 27.2172, 6.6571)
Luminance0.2722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F942E #332E94
analogous
#94662E #8F942E #5C942E
triadic
#8F942E #2E8F94 #942E8F
tetradic
#8F942E #2E9466 #332E94 #942E5C
square
#8F942E #2E9466 #332E94 #942E5C
split-complementary
#8F942E #2E5C94 #662E94
monochromatic
#353711 #62651F #8F942E #BCC33D #CCD16B

Accessibility & contrast

On white

3.26
#8F942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#8F942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F942E
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F942E#FFFFFF#000000##000000
##8F942E1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D1F
Deuteranopia (green-blind)
#A09035
Tritanopia (blue-blind)
#998B80
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8f942e;
/* rgb */ color: rgb(143, 148, 46);
/* oklch */ color: oklch(64.3% 0.123 112.1);
Tailwind
colors: {
  custom: {
    50: '#b3b36d',
    500: '#8f942e',
    950: '#000000',
  },
}
SCSS
$custom: #8f942e;
$custom-light: #b3b36d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f942e",
  "rgb": {
    "r": 143,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 62.941,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64285,
    "c": 0.12299,
    "h": 112.1
  },
  "luminance": 0.27217
}

Semantic roles & 50–950 ramp

primary
#8F942E
secondary
#6A66B8
accent
#4CDC53
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F942E

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

Preview Lab → · Contrast checker → · Palette generator →

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