#8FA038#8FA038

#8FA038 is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.2% C 0.130 H 118.0°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8FA038
RGBrgb(143, 160, 56)
HSLhsl(70, 48%, 42%)
HSVhsv(70, 65%, 63%)
CMYKcmyk(10.6%, 0%, 65%, 37.3%)
CIE-LABlab(62.73, -20.67, 50.34)
CIE-LCHlch(62.73, 54.42, 112.32°)
OKLaboklab(67.16% -0.0608 0.1145)
OKLCHoklch(67.16% 0.13 118)
XYZxyz(24.6128, 31.2670, 8.4791)
Luminance0.3127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA038 #4938A0
analogous
#A07D38 #8FA038 #5BA038
triadic
#8FA038 #388FA0 #A0388F
tetradic
#8FA038 #38A07D #4938A0 #A0385B
square
#8FA038 #38A07D #4938A0 #A0385B
split-complementary
#8FA038 #385BA0 #7D38A0
monochromatic
#3E4518 #667328 #8FA038 #B0C353 #C5D380

Accessibility & contrast

On white

2.90
#8FA038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#8FA038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA038
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA038#FFFFFF#000000##000000
##8FA0381.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA982A
Deuteranopia (green-blind)
#A9983F
Tritanopia (blue-blind)
#97978B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa038;
/* rgb */ color: rgb(143, 160, 56);
/* oklch */ color: oklch(67.2% 0.130 118.0);
Tailwind
colors: {
  custom: {
    50: '#b2bc74',
    500: '#8fa038',
    950: '#000000',
  },
}
SCSS
$custom: #8fa038;
$custom-light: #b2bc74;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa038",
  "rgb": {
    "r": 143,
    "g": 160,
    "b": 56
  },
  "hsl": {
    "h": 69.808,
    "s": 48.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67162,
    "c": 0.12961,
    "h": 118
  },
  "luminance": 0.31267
}

Semantic roles & 50–950 ramp

primary
#8FA038
secondary
#8378BC
accent
#50D866
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8FA038

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

Preview Lab → · Contrast checker → · Palette generator →

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