#8A8B1E#8A8B1E

#8A8B1E is a mid, vivid yellow. Relative luminance 0.240; OKLCH L 61.7% C 0.125 H 110.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8A8B1E
RGBrgb(138, 139, 30)
HSLhsl(61, 64%, 33%)
HSVhsv(61, 78%, 55%)
CMYKcmyk(0.7%, 0%, 78.4%, 45.5%)
CIE-LABlab(56.05, -13.42, 53.56)
CIE-LCHlch(56.05, 55.22, 104.07°)
OKLaboklab(61.65% -0.0428 0.117)
OKLCHoklch(61.65% 0.125 110.1)
XYZxyz(19.9489, 23.9628, 4.8025)
Luminance0.2396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8B1E #1F1E8B
analogous
#8B551E #8A8B1E #548B1E
triadic
#8A8B1E #1E8A8B #8B1E8A
tetradic
#8A8B1E #1E8B55 #1F1E8B #8B1E54
square
#8A8B1E #1E8B55 #1F1E8B #8B1E54
split-complementary
#8A8B1E #1E548B #551E8B
monochromatic
#262608 #585913 #8A8B1E #BCBD29 #D7D84B

Accessibility & contrast

On white

3.63
#8A8B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8A8B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8B1E
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8B1E#FFFFFF#000000##000000
##8A8B1E1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#948277
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8b1e;
/* rgb */ color: rgb(138, 139, 30);
/* oklch */ color: oklch(61.7% 0.125 110.1);
Tailwind
colors: {
  custom: {
    50: '#b0ac64',
    500: '#8a8b1e',
    950: '#000000',
  },
}
SCSS
$custom: #8a8b1e;
$custom-light: #b0ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8b1e",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 60.55,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.61652,
    "c": 0.12456,
    "h": 110.1
  },
  "luminance": 0.23962
}

Semantic roles & 50–950 ramp

primary
#8A8B1E
secondary
#4B4ABB
accent
#40E742
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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