#8D8F2B#8D8F2B

#8D8F2B is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.9% C 0.120 H 110.5°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8D8F2B
RGBrgb(141, 143, 43)
HSLhsl(61, 54%, 36%)
HSVhsv(61, 70%, 56%)
CMYKcmyk(1.4%, 0%, 69.9%, 43.9%)
CIE-LABlab(57.54, -13.56, 50.33)
CIE-LCHlch(57.54, 52.13, 105.08°)
OKLaboklab(62.93% -0.0421 0.1125)
OKLCHoklch(62.93% 0.12 110.5)
XYZxyz(21.2437, 25.4826, 6.0846)
Luminance0.2548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8F2B #2D2B8F
analogous
#8F5F2B #8D8F2B #5B8F2B
triadic
#8D8F2B #2B8D8F #8F2B8D
tetradic
#8D8F2B #2B8F5F #2D2B8F #8F2B5B
square
#8D8F2B #2B8F5F #2D2B8F #8F2B5B
split-complementary
#8D8F2B #2B5B8F #5F2B8F
monochromatic
#30310F #5F601D #8D8F2B #BBBE39 #CED064

Accessibility & contrast

On white

3.44
#8D8F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#8D8F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8F2B
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8F2B#FFFFFF#000000##000000
##8D8F2B1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A891B
Deuteranopia (green-blind)
#9B8C32
Tritanopia (blue-blind)
#97867B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8d8f2b;
/* rgb */ color: rgb(141, 143, 43);
/* oklch */ color: oklch(62.9% 0.120 110.5);
Tailwind
colors: {
  custom: {
    50: '#b1af6b',
    500: '#8d8f2b',
    950: '#000000',
  },
}
SCSS
$custom: #8d8f2b;
$custom-light: #b1af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8f2b",
  "rgb": {
    "r": 141,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 61.2,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62933,
    "c": 0.12008,
    "h": 110.5
  },
  "luminance": 0.25482
}

Semantic roles & 50–950 ramp

primary
#8D8F2B
secondary
#615FB7
accent
#4BDD4E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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