#8A951C#8A951C

#8A951C is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.0% C 0.136 H 115.0°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8A951C
RGBrgb(138, 149, 28)
HSLhsl(65, 68%, 35%)
HSVhsv(65, 81%, 58%)
CMYKcmyk(7.4%, 0%, 81.2%, 41.6%)
CIE-LABlab(58.96, -18.73, 56.78)
CIE-LCHlch(58.96, 59.79, 108.26°)
OKLaboklab(63.98% -0.0577 0.1235)
OKLCHoklch(63.98% 0.136 115)
XYZxyz(21.4389, 26.9824, 5.1771)
Luminance0.2698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A951C #271C95
analogous
#95641C #8A951C #4D951C
triadic
#8A951C #1C8A95 #951C8A
tetradic
#8A951C #1C9564 #271C95 #951C4D
square
#8A951C #1C9564 #271C95 #951C4D
split-complementary
#8A951C #1C4D95 #641C95
monochromatic
#2B2E09 #5A6112 #8A951C #BAC926 #D1DE4E

Accessibility & contrast

On white

3.28
#8A951C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#8A951C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A951C
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A951C#FFFFFF#000000##000000
##8A951C1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A08F28
Tritanopia (blue-blind)
#948C7F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a951c;
/* rgb */ color: rgb(138, 149, 28);
/* oklch */ color: oklch(64.0% 0.136 115.0);
Tailwind
colors: {
  custom: {
    50: '#b0b464',
    500: '#8a951c',
    950: '#000000',
  },
}
SCSS
$custom: #8a951c;
$custom-light: #b0b464;
$custom-dark: #000000;
JSON
{
  "hex": "#8a951c",
  "rgb": {
    "r": 138,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 65.455,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.63979,
    "c": 0.13628,
    "h": 115
  },
  "luminance": 0.26982
}

Semantic roles & 50–950 ramp

primary
#8A951C
secondary
#574DC0
accent
#3DEB4C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8A951C

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

Preview Lab → · Contrast checker → · Palette generator →

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