#6B901B#6B901B

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

Color values

HEX#6B901B
RGBrgb(107, 144, 27)
HSLhsl(79, 68%, 34%)
HSVhsv(79, 81%, 56%)
CMYKcmyk(25.7%, 0%, 81.3%, 43.5%)
CIE-LABlab(55.23, -29.60, 52.90)
CIE-LCHlch(55.23, 60.61, 119.23°)
OKLaboklab(60.4% -0.0857 0.1161)
OKLCHoklch(60.4% 0.144 126.4)
XYZxyz(16.2346, 23.1512, 4.6500)
Luminance0.2315 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B901B #401B90
analogous
#907A1B #6B901B #31901B
triadic
#6B901B #1B6B90 #901B6B
tetradic
#6B901B #1B907A #401B90 #901B31
square
#6B901B #1B907A #401B90 #901B31
split-complementary
#6B901B #1B3190 #7A1B90
monochromatic
#1E2908 #455C11 #6B901B #91C425 #AEDD49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B901B#FFFFFF#000000##000000
##6B901B1.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: #6b901b;
/* rgb */ color: rgb(107, 144, 27);
/* oklch */ color: oklch(60.4% 0.144 126.4);
Tailwind
colors: {
  custom: {
    50: '#99b063',
    500: '#6b901b',
    950: '#000000',
  },
}
SCSS
$custom: #6b901b;
$custom-light: #99b063;
$custom-dark: #000000;
JSON
{
  "hex": "#6b901b",
  "rgb": {
    "r": 107,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 78.974,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.60403,
    "c": 0.14433,
    "h": 126.4
  },
  "luminance": 0.23151
}

Semantic roles & 50–950 ramp

primary
#6B901B
secondary
#6E48BF
accent
#3DEB74
background
#F9FAF6
surface
#F2F5EB
border
#CCCFC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #6B901B

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

Preview Lab → · Contrast checker → · Palette generator →

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