#8FA229#8FA229

#8FA229 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.5% C 0.142 H 118.3°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8FA229
RGBrgb(143, 162, 41)
HSLhsl(69, 60%, 40%)
HSVhsv(69, 75%, 64%)
CMYKcmyk(11.7%, 0%, 74.7%, 36.5%)
CIE-LABlab(63.21, -22.57, 56.66)
CIE-LCHlch(63.21, 60.99, 111.72°)
OKLaboklab(67.51% -0.0675 0.1254)
OKLCHoklch(67.51% 0.142 118.3)
XYZxyz(24.6488, 31.8406, 6.9447)
Luminance0.3184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA229 #3C29A2
analogous
#A27829 #8FA229 #53A229
triadic
#8FA229 #298FA2 #A2298F
tetradic
#8FA229 #29A278 #3C29A2 #A22953
square
#8FA229 #29A278 #3C29A2 #A22953
split-complementary
#8FA229 #2953A2 #7829A2
monochromatic
#394010 #64711D #8FA229 #B6CD3B #C8DA6C

Accessibility & contrast

On white

2.85
#8FA229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#8FA229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA229
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA229#FFFFFF#000000##000000
##8FA2291.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990F
Deuteranopia (green-blind)
#AB9A34
Tritanopia (blue-blind)
#98998B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8fa229;
/* rgb */ color: rgb(143, 162, 41);
/* oklch */ color: oklch(67.5% 0.142 118.3);
Tailwind
colors: {
  custom: {
    50: '#b3bd6c',
    500: '#8fa229',
    950: '#000000',
  },
}
SCSS
$custom: #8fa229;
$custom-light: #b3bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa229",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 69.421,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67513,
    "c": 0.14238,
    "h": 118.3
  },
  "luminance": 0.3184
}

Semantic roles & 50–950 ramp

primary
#8FA229
secondary
#7567C0
accent
#45E35E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8FA229

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

Preview Lab → · Contrast checker → · Palette generator →

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