#8A833F#8A833F

#8A833F is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.1% C 0.090 H 103.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8A833F
RGBrgb(138, 131, 63)
HSLhsl(54, 37%, 39%)
HSVhsv(54, 54%, 54%)
CMYKcmyk(0%, 5.1%, 54.3%, 45.9%)
CIE-LABlab(54.02, -6.95, 37.24)
CIE-LCHlch(54.02, 37.88, 100.57°)
OKLaboklab(60.12% -0.0209 0.0875)
OKLCHoklch(60.12% 0.09 103.4)
XYZxyz(19.4953, 21.9954, 7.9203)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A833F #3F468A
analogous
#8A5E3F #8A833F #6C8A3F
triadic
#8A833F #3F8A83 #833F8A
tetradic
#8A833F #3F8A5E #3F468A #8A3F6C
square
#8A833F #3F8A5E #3F468A #8A3F6C
split-complementary
#8A833F #3F6C8A #5E3F8A
monochromatic
#363319 #605B2C #8A833F #B1A955 #C5BE7F

Accessibility & contrast

On white

3.89
#8A833F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#8A833F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A833F
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A833F#FFFFFF#000000##000000
##8A833F1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F39
Deuteranopia (green-blind)
#908342
Tritanopia (blue-blind)
#937B74
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a833f;
/* rgb */ color: rgb(138, 131, 63);
/* oklch */ color: oklch(60.1% 0.090 103.4);
Tailwind
colors: {
  custom: {
    50: '#aea676',
    500: '#8a833f',
    950: '#000000',
  },
}
SCSS
$custom: #8a833f;
$custom-light: #aea676;
$custom-dark: #000000;
JSON
{
  "hex": "#8a833f",
  "rgb": {
    "r": 138,
    "g": 131,
    "b": 63
  },
  "hsl": {
    "h": 54.4,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60124,
    "c": 0.08999,
    "h": 103.4
  },
  "luminance": 0.21995
}

Semantic roles & 50–950 ramp

primary
#8A833F
secondary
#767BAF
accent
#65CD5B
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#100F08
muted
#7F7F7B

Preview Lab

Preview with #8A833F

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

Preview Lab → · Contrast checker → · Palette generator →

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