#8A8630#8A8630

#8A8630 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.6% C 0.107 H 106.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8A8630
RGBrgb(138, 134, 48)
HSLhsl(57, 48%, 36%)
HSVhsv(57, 65%, 54%)
CMYKcmyk(0%, 2.9%, 65.2%, 45.9%)
CIE-LABlab(54.73, -9.76, 45.24)
CIE-LCHlch(54.73, 46.28, 102.18°)
OKLaboklab(60.64% -0.0307 0.1026)
OKLCHoklch(60.64% 0.107 106.6)
XYZxyz(19.5405, 22.6675, 6.1417)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8630 #30348A
analogous
#8A5930 #8A8630 #618A30
triadic
#8A8630 #308A86 #86308A
tetradic
#8A8630 #308A59 #30348A #8A3061
square
#8A8630 #308A59 #30348A #8A3061
split-complementary
#8A8630 #30618A #59308A
monochromatic
#2F2E10 #5D5A20 #8A8630 #B7B240 #CBC769

Accessibility & contrast

On white

3.80
#8A8630 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8A8630 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8630
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8630#FFFFFF#000000##000000
##8A86301.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918125
Deuteranopia (green-blind)
#938535
Tritanopia (blue-blind)
#947D74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8a8630;
/* rgb */ color: rgb(138, 134, 48);
/* oklch */ color: oklch(60.6% 0.107 106.6);
Tailwind
colors: {
  custom: {
    50: '#afa96d',
    500: '#8a8630',
    950: '#000000',
  },
}
SCSS
$custom: #8a8630;
$custom-light: #afa96d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8630",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 48
  },
  "hsl": {
    "h": 57.333,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60636,
    "c": 0.10713,
    "h": 106.6
  },
  "luminance": 0.22667
}

Semantic roles & 50–950 ramp

primary
#8A8630
secondary
#6467B2
accent
#56D850
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A8630

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

Preview Lab → · Contrast checker → · Palette generator →

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