#6C901F#6C901F

#6C901F is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.5% C 0.142 H 126.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#6C901F
RGBrgb(108, 144, 31)
HSLhsl(79, 65%, 34%)
HSVhsv(79, 78%, 56%)
CMYKcmyk(25%, 0%, 78.5%, 43.5%)
CIE-LABlab(55.31, -28.99, 51.73)
CIE-LCHlch(55.31, 59.30, 119.27°)
OKLaboklab(60.49% -0.0839 0.1143)
OKLCHoklch(60.49% 0.142 126.3)
XYZxyz(16.4050, 23.2333, 4.9162)
Luminance0.2323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C901F #431F90
analogous
#907C1F #6C901F #34901F
triadic
#6C901F #1F6C90 #901F6C
tetradic
#6C901F #1F907C #431F90 #901F34
square
#6C901F #1F907C #431F90 #901F34
split-complementary
#6C901F #1F3490 #7C1F90
monochromatic
#202B09 #465E14 #6C901F #92C22A #AED950

Accessibility & contrast

On white

3.72
#6C901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#6C901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6C901F
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C901F#FFFFFF#000000##000000
##6C901F1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988601
Deuteranopia (green-blind)
#93842A
Tritanopia (blue-blind)
#71897B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6c901f;
/* rgb */ color: rgb(108, 144, 31);
/* oklch */ color: oklch(60.5% 0.142 126.3);
Tailwind
colors: {
  custom: {
    50: '#9ab064',
    500: '#6c901f',
    950: '#000000',
  },
}
SCSS
$custom: #6c901f;
$custom-light: #9ab064;
$custom-dark: #000000;
JSON
{
  "hex": "#6c901f",
  "rgb": {
    "r": 108,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 79.115,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60494,
    "c": 0.14176,
    "h": 126.3
  },
  "luminance": 0.23234
}

Semantic roles & 50–950 ramp

primary
#6C901F
secondary
#714EBC
accent
#40E876
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6C901F

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

Preview Lab → · Contrast checker → · Palette generator →

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