#6FA231#6FA231

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

Color values

HEX#6FA231
RGBrgb(111, 162, 49)
HSLhsl(87, 54%, 41%)
HSVhsv(87, 70%, 64%)
CMYKcmyk(31.5%, 0%, 69.8%, 36.5%)
CIE-LABlab(61.17, -35.08, 50.95)
CIE-LCHlch(61.17, 61.86, 124.55°)
OKLaboklab(65.34% -0.0992 0.1154)
OKLCHoklch(65.34% 0.152 130.7)
XYZxyz(20.0301, 29.4413, 7.5325)
Luminance0.2944 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6FA231 #6431A2
analogous
#A29D31 #6FA231 #36A231
triadic
#6FA231 #316FA2 #A2316F
tetradic
#6FA231 #31A29D #6431A2 #A23136
square
#6FA231 #31A29D #6431A2 #A23136
split-complementary
#6FA231 #3136A2 #9D31A2
monochromatic
#2F4415 #4F7323 #6FA231 #8EC848 #ABD677

Accessibility & contrast

On white

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

On black

6.89
#6FA231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6FA231
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6FA231#FFFFFF#000000##000000
##6FA2311.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99620
Deuteranopia (green-blind)
#A2923B
Tritanopia (blue-blind)
#719B8B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #6fa231;
/* rgb */ color: rgb(111, 162, 49);
/* oklch */ color: oklch(65.3% 0.152 130.7);
Tailwind
colors: {
  custom: {
    50: '#9cbe70',
    500: '#6fa231',
    950: '#000000',
  },
}
SCSS
$custom: #6fa231;
$custom-light: #9cbe70;
$custom-dark: #000000;
JSON
{
  "hex": "#6fa231",
  "rgb": {
    "r": 111,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 87.08,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.65338,
    "c": 0.15218,
    "h": 130.7
  },
  "luminance": 0.29442
}

Semantic roles & 50–950 ramp

primary
#6FA231
secondary
#9471BE
accent
#4BDD8D
background
#F9FBF7
surface
#F2F6ED
border
#CCD0C8
text
#0F1208
muted
#7E817B

Preview Lab

Preview with #6FA231

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

Preview Lab → · Contrast checker → · Palette generator →

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