#8A9029#8A9029

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

Color values

HEX#8A9029
RGBrgb(138, 144, 41)
HSLhsl(63, 56%, 36%)
HSVhsv(63, 72%, 56%)
CMYKcmyk(4.2%, 0%, 71.5%, 43.5%)
CIE-LABlab(57.57, -15.53, 51.06)
CIE-LCHlch(57.57, 53.37, 106.92°)
OKLaboklab(62.89% -0.0477 0.1137)
OKLCHoklch(62.89% 0.123 112.7)
XYZxyz(20.8554, 25.5104, 5.9228)
Luminance0.2551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9029 #2F2990
analogous
#906329 #8A9029 #579029
triadic
#8A9029 #298A90 #90298A
tetradic
#8A9029 #299063 #2F2990 #902957
square
#8A9029 #299063 #2F2990 #902957
split-complementary
#8A9029 #295790 #632990
monochromatic
#2F310E #5C601B #8A9029 #B8C037 #CCD261

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9029#FFFFFF#000000##000000
##8A90291.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)
#9B8918
Deuteranopia (green-blind)
#9B8B31
Tritanopia (blue-blind)
#93877C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a9029;
/* rgb */ color: rgb(138, 144, 41);
/* oklch */ color: oklch(62.9% 0.123 112.7);
Tailwind
colors: {
  custom: {
    50: '#afb06a',
    500: '#8a9029',
    950: '#000000',
  },
}
SCSS
$custom: #8a9029;
$custom-light: #afb06a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9029",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 41
  },
  "hsl": {
    "h": 63.495,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62888,
    "c": 0.12331,
    "h": 112.7
  },
  "luminance": 0.2551
}

Semantic roles & 50–950 ramp

primary
#8A9029
secondary
#625DB8
accent
#49DF52
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A9029

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

Preview Lab → · Contrast checker → · Palette generator →

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