#6B901C#6B901C

#6B901C is a mid, vivid yellow-green. Relative luminance 0.232; OKLCH L 60.4% C 0.144 H 126.5°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#6B901C
RGBrgb(107, 144, 28)
HSLhsl(79, 67%, 34%)
HSVhsv(79, 81%, 56%)
CMYKcmyk(25.7%, 0%, 80.6%, 43.5%)
CIE-LABlab(55.23, -29.55, 52.60)
CIE-LCHlch(55.23, 60.33, 119.33°)
OKLaboklab(60.41% -0.0855 0.1156)
OKLCHoklch(60.41% 0.144 126.5)
XYZxyz(16.2464, 23.1559, 4.7120)
Luminance0.2316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B901C #411C90
analogous
#907B1C #6B901C #31901C
triadic
#6B901C #1C6B90 #901C6B
tetradic
#6B901C #1C907B #411C90 #901C31
square
#6B901C #1C907B #411C90 #901C31
split-complementary
#6B901C #1C3190 #7B1C90
monochromatic
#1F2A08 #455D12 #6B901C #91C326 #AEDC4A

Accessibility & contrast

On white

3.73
#6B901C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#6B901C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B901C
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B901C#FFFFFF#000000##000000
##6B901C1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#938428
Tritanopia (blue-blind)
#70897B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #6b901c;
/* rgb */ color: rgb(107, 144, 28);
/* oklch */ color: oklch(60.4% 0.144 126.5);
Tailwind
colors: {
  custom: {
    50: '#99b063',
    500: '#6b901c',
    950: '#000000',
  },
}
SCSS
$custom: #6b901c;
$custom-light: #99b063;
$custom-dark: #000000;
JSON
{
  "hex": "#6b901c",
  "rgb": {
    "r": 107,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 79.138,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60408,
    "c": 0.14383,
    "h": 126.5
  },
  "luminance": 0.23156
}

Semantic roles & 50–950 ramp

primary
#6B901C
secondary
#6F4ABE
accent
#3DEA75
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B901C

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

Preview Lab → · Contrast checker → · Palette generator →

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