#8B9028#8B9028

#8B9028 is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.0% C 0.124 H 112.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8B9028
RGBrgb(139, 144, 40)
HSLhsl(63, 57%, 36%)
HSVhsv(63, 72%, 56%)
CMYKcmyk(3.5%, 0%, 72.2%, 43.5%)
CIE-LABlab(57.65, -15.14, 51.55)
CIE-LCHlch(57.65, 53.73, 106.37°)
OKLaboklab(62.97% -0.0467 0.1145)
OKLCHoklch(62.97% 0.124 112.2)
XYZxyz(21.0044, 25.5892, 5.8398)
Luminance0.2559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9028 #2D2890
analogous
#906128 #8B9028 #579028
triadic
#8B9028 #288B90 #90288B
tetradic
#8B9028 #289061 #2D2890 #902857
square
#8B9028 #289061 #2D2890 #902857
split-complementary
#8B9028 #285790 #612890
monochromatic
#2F300D #5D601B #8B9028 #B9C035 #CDD360

Accessibility & contrast

On white

3.43
#8B9028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#8B9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9028
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9028#FFFFFF#000000##000000
##8B90281.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8916
Deuteranopia (green-blind)
#9B8C30
Tritanopia (blue-blind)
#95877C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8b9028;
/* rgb */ color: rgb(139, 144, 40);
/* oklch */ color: oklch(63.0% 0.124 112.2);
Tailwind
colors: {
  custom: {
    50: '#b0b069',
    500: '#8b9028',
    950: '#000000',
  },
}
SCSS
$custom: #8b9028;
$custom-light: #b0b069;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9028",
  "rgb": {
    "r": 139,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 62.885,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.62967,
    "c": 0.12371,
    "h": 112.2
  },
  "luminance": 0.25589
}

Semantic roles & 50–950 ramp

primary
#8B9028
secondary
#605CB8
accent
#48E04F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8B9028

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

Preview Lab → · Contrast checker → · Palette generator →

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