#8A9233#8A9233

#8A9233 is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.4% C 0.118 H 113.9°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8A9233
RGBrgb(138, 146, 51)
HSLhsl(65, 48%, 39%)
HSVhsv(65, 65%, 57%)
CMYKcmyk(5.5%, 0%, 65.1%, 42.7%)
CIE-LABlab(58.23, -15.96, 47.62)
CIE-LCHlch(58.23, 50.22, 108.53°)
OKLaboklab(63.44% -0.0478 0.1081)
OKLCHoklch(63.44% 0.118 113.9)
XYZxyz(21.3582, 26.2005, 7.0634)
Luminance0.2620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9233 #3B3392
analogous
#926A33 #8A9233 #5A9233
triadic
#8A9233 #338A92 #92338A
tetradic
#8A9233 #33926A #3B3392 #92335A
square
#8A9233 #33926A #3B3392 #92335A
split-complementary
#8A9233 #335A92 #6A3392
monochromatic
#343713 #5F6523 #8A9233 #B4BE44 #C6CE72

Accessibility & contrast

On white

3.37
#8A9233 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#8A9233 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9233
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9233#FFFFFF#000000##000000
##8A92331.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B27
Deuteranopia (green-blind)
#9C8D39
Tritanopia (blue-blind)
#938A7E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a9233;
/* rgb */ color: rgb(138, 146, 51);
/* oklch */ color: oklch(63.4% 0.118 113.9);
Tailwind
colors: {
  custom: {
    50: '#afb170',
    500: '#8a9233',
    950: '#000000',
  },
}
SCSS
$custom: #8a9233;
$custom-light: #afb170;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9233",
  "rgb": {
    "r": 138,
    "g": 146,
    "b": 51
  },
  "hsl": {
    "h": 65.053,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63439,
    "c": 0.11822,
    "h": 113.9
  },
  "luminance": 0.262
}

Semantic roles & 50–950 ramp

primary
#8A9233
secondary
#716BB6
accent
#50D85B
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A9233

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

Preview Lab → · Contrast checker → · Palette generator →

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