#8B901C#8B901C

#8B901C is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.9% C 0.131 H 112.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8B901C
RGBrgb(139, 144, 28)
HSLhsl(63, 67%, 34%)
HSVhsv(63, 81%, 56%)
CMYKcmyk(3.5%, 0%, 80.6%, 43.5%)
CIE-LABlab(57.58, -15.69, 55.59)
CIE-LCHlch(57.58, 57.76, 105.76°)
OKLaboklab(62.89% -0.0493 0.1209)
OKLCHoklch(62.89% 0.131 112.2)
XYZxyz(20.8310, 25.5198, 4.9269)
Luminance0.2552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B901C #211C90
analogous
#905B1C #8B901C #51901C
triadic
#8B901C #1C8B90 #901C8B
tetradic
#8B901C #1C905B #211C90 #901C51
square
#8B901C #1C905B #211C90 #901C51
split-complementary
#8B901C #1C5190 #5B1C90
monochromatic
#282A08 #5A5D12 #8B901C #BCC326 #D6DC4A

Accessibility & contrast

On white

3.44
#8B901C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#8B901C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B901C
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B901C#FFFFFF#000000##000000
##8B901C1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9C8C27
Tritanopia (blue-blind)
#95877B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8b901c;
/* rgb */ color: rgb(139, 144, 28);
/* oklch */ color: oklch(62.9% 0.131 112.2);
Tailwind
colors: {
  custom: {
    50: '#b0b064',
    500: '#8b901c',
    950: '#000000',
  },
}
SCSS
$custom: #8b901c;
$custom-light: #b0b064;
$custom-dark: #000000;
JSON
{
  "hex": "#8b901c",
  "rgb": {
    "r": 139,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 62.586,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.62892,
    "c": 0.13056,
    "h": 112.2
  },
  "luminance": 0.25519
}

Semantic roles & 50–950 ramp

primary
#8B901C
secondary
#4F4ABE
accent
#3DEA45
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B901C

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

Preview Lab → · Contrast checker → · Palette generator →

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