#6FA827#6FA827

#6FA827 is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.8% C 0.166 H 131.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6FA827
RGBrgb(111, 168, 39)
HSLhsl(87, 62%, 41%)
HSVhsv(87, 77%, 66%)
CMYKcmyk(33.9%, 0%, 76.8%, 34.1%)
CIE-LABlab(62.95, -38.41, 56.38)
CIE-LCHlch(62.95, 68.22, 124.26°)
OKLaboklab(66.77% -0.109 0.1253)
OKLCHoklch(66.77% 0.166 131)
XYZxyz(20.9242, 31.5305, 6.9026)
Luminance0.3153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA827 #6027A8
analogous
#A8A127 #6FA827 #2EA827
triadic
#6FA827 #276FA8 #A8276F
tetradic
#6FA827 #27A8A1 #6027A8 #A8272E
square
#6FA827 #27A8A1 #6027A8 #A8272E
split-complementary
#6FA827 #272EA8 #A127A8
monochromatic
#2D4510 #4E761B #6FA827 #8FD13B #ABDD6C

Accessibility & contrast

On white

2.87
#6FA827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#6FA827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #6FA827
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA827#FFFFFF#000000##000000
##6FA8271.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B06
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#71A190
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #6fa827;
/* rgb */ color: rgb(111, 168, 39);
/* oklch */ color: oklch(66.8% 0.166 131.0);
Tailwind
colors: {
  custom: {
    50: '#9dc26b',
    500: '#6fa827',
    950: '#000000',
  },
}
SCSS
$custom: #6fa827;
$custom-light: #9dc26b;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa827",
  "rgb": {
    "r": 111,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 86.512,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66771,
    "c": 0.16606,
    "h": 131
  },
  "luminance": 0.31531
}

Semantic roles & 50–950 ramp

primary
#6FA827
secondary
#9067C3
accent
#42E58A
background
#FAFBF6
surface
#F3F7EC
border
#CDD0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #6FA827

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

Preview Lab → · Contrast checker → · Palette generator →

#6FA827 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva