#8A9123#8A9123

#8A9123 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.1% C 0.128 H 113.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8A9123
RGBrgb(138, 145, 35)
HSLhsl(64, 61%, 35%)
HSVhsv(64, 76%, 57%)
CMYKcmyk(4.8%, 0%, 75.9%, 43.1%)
CIE-LABlab(57.82, -16.36, 53.51)
CIE-LCHlch(57.82, 55.96, 107.00°)
OKLaboklab(63.08% -0.0505 0.1178)
OKLCHoklch(63.08% 0.128 113.2)
XYZxyz(20.9107, 25.7759, 5.4635)
Luminance0.2577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9123 #2A2391
analogous
#916123 #8A9123 #539123
triadic
#8A9123 #238A91 #91238A
tetradic
#8A9123 #239161 #2A2391 #912353
square
#8A9123 #239161 #2A2391 #912353
split-complementary
#8A9123 #235391 #612391
monochromatic
#2C2E0B #5B6017 #8A9123 #B9C22F #CFD758

Accessibility & contrast

On white

3.41
#8A9123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#8A9123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9123
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9123#FFFFFF#000000##000000
##8A91231.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A0A
Deuteranopia (green-blind)
#9C8C2C
Tritanopia (blue-blind)
#94887C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a9123;
/* rgb */ color: rgb(138, 145, 35);
/* oklch */ color: oklch(63.1% 0.128 113.2);
Tailwind
colors: {
  custom: {
    50: '#afb167',
    500: '#8a9123',
    950: '#000000',
  },
}
SCSS
$custom: #8a9123;
$custom-light: #afb167;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9123",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 35
  },
  "hsl": {
    "h": 63.818,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.6308,
    "c": 0.12819,
    "h": 113.2
  },
  "luminance": 0.25775
}

Semantic roles & 50–950 ramp

primary
#8A9123
secondary
#5B55BB
accent
#44E44E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A9123

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

Preview Lab → · Contrast checker → · Palette generator →

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