#8D8A30#8D8A30

#8D8A30 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.111 H 107.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8D8A30
RGBrgb(141, 138, 48)
HSLhsl(58, 49%, 37%)
HSVhsv(58, 66%, 55%)
CMYKcmyk(0%, 2.1%, 66%, 44.7%)
CIE-LABlab(56.14, -10.58, 46.81)
CIE-LCHlch(56.14, 47.99, 102.74°)
OKLaboklab(61.83% -0.0332 0.1059)
OKLCHoklch(61.83% 0.111 107.4)
XYZxyz(20.6072, 24.0537, 6.3531)
Luminance0.2405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A30 #30338D
analogous
#8D5C30 #8D8A30 #618D30
triadic
#8D8A30 #308D8A #8A308D
tetradic
#8D8A30 #308D5C #30338D #8D3061
square
#8D8A30 #308D5C #30338D #8D3061
split-complementary
#8D8A30 #30618D #5C308D
monochromatic
#323111 #5F5D20 #8D8A30 #BBB740 #CDC96B

Accessibility & contrast

On white

3.61
#8D8A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8D8A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A30
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A30#FFFFFF#000000##000000
##8D8A301.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958524
Deuteranopia (green-blind)
#978836
Tritanopia (blue-blind)
#978177
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8a30;
/* rgb */ color: rgb(141, 138, 48);
/* oklch */ color: oklch(61.8% 0.111 107.4);
Tailwind
colors: {
  custom: {
    50: '#b1ab6d',
    500: '#8d8a30',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a30;
$custom-light: #b1ab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a30",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 58.065,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61827,
    "c": 0.11095,
    "h": 107.4
  },
  "luminance": 0.24053
}

Semantic roles & 50–950 ramp

primary
#8D8A30
secondary
#6567B4
accent
#53D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8A30

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

Preview Lab → · Contrast checker → · Palette generator →

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