#6FA228#6FA228

#6FA228 is a light, vivid yellow-green. Relative luminance 0.294; OKLCH L 65.3% C 0.158 H 130.0°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#6FA228
RGBrgb(111, 162, 40)
HSLhsl(85, 60%, 40%)
HSVhsv(85, 75%, 64%)
CMYKcmyk(31.5%, 0%, 75.3%, 36.5%)
CIE-LABlab(61.11, -35.67, 54.26)
CIE-LCHlch(61.11, 64.94, 123.32°)
OKLaboklab(65.27% -0.1015 0.121)
OKLCHoklch(65.27% 0.158 130)
XYZxyz(19.8588, 29.3727, 6.6303)
Luminance0.2937 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA228 #5B28A2
analogous
#A29828 #6FA228 #32A228
triadic
#6FA228 #286FA2 #A2286F
tetradic
#6FA228 #28A298 #5B28A2 #A22832
square
#6FA228 #28A298 #5B28A2 #A22832
split-complementary
#6FA228 #2832A2 #9828A2
monochromatic
#2C4010 #4D711C #6FA228 #90CE39 #ABDA6A

Accessibility & contrast

On white

3.05
#6FA228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#6FA228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6FA228
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA228#FFFFFF#000000##000000
##6FA2281.003.056.876.87
#FFFFFF3.051.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA960E
Deuteranopia (green-blind)
#A39234
Tritanopia (blue-blind)
#729B8B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #6fa228;
/* rgb */ color: rgb(111, 162, 40);
/* oklch */ color: oklch(65.3% 0.158 130.0);
Tailwind
colors: {
  custom: {
    50: '#9dbe6b',
    500: '#6fa228',
    950: '#000000',
  },
}
SCSS
$custom: #6fa228;
$custom-light: #9dbe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa228",
  "rgb": {
    "r": 111,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 85.082,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6527,
    "c": 0.15794,
    "h": 130
  },
  "luminance": 0.29373
}

Semantic roles & 50–950 ramp

primary
#6FA228
secondary
#8B65C1
accent
#44E487
background
#FAFBF6
surface
#F3F6EC
border
#CDD0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #6FA228

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

Preview Lab → · Contrast checker → · Palette generator →

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