#6B951C#6B951C

#6B951C is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 61.7% C 0.150 H 127.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6B951C
RGBrgb(107, 149, 28)
HSLhsl(81, 68%, 35%)
HSVhsv(81, 81%, 58%)
CMYKcmyk(28.2%, 0%, 81.2%, 41.6%)
CIE-LABlab(56.79, -31.91, 54.02)
CIE-LCHlch(56.79, 62.74, 120.57°)
OKLaboklab(61.67% -0.0919 0.1186)
OKLCHoklch(61.67% 0.15 127.8)
XYZxyz(17.0205, 24.7041, 4.9700)
Luminance0.2470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B951C #461C95
analogous
#95821C #6B951C #2F951C
triadic
#6B951C #1C6B95 #951C6B
tetradic
#6B951C #1C9582 #461C95 #951C2F
square
#6B951C #1C9582 #461C95 #951C2F
split-complementary
#6B951C #1C2F95 #821C95
monochromatic
#212E09 #466112 #6B951C #90C926 #ACDE4E

Accessibility & contrast

On white

3.53
#6B951C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#6B951C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B951C
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B951C#FFFFFF#000000##000000
##6B951C1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#6F8E7F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6b951c;
/* rgb */ color: rgb(107, 149, 28);
/* oklch */ color: oklch(61.7% 0.150 127.8);
Tailwind
colors: {
  custom: {
    50: '#99b464',
    500: '#6b951c',
    950: '#000000',
  },
}
SCSS
$custom: #6b951c;
$custom-light: #99b464;
$custom-dark: #000000;
JSON
{
  "hex": "#6b951c",
  "rgb": {
    "r": 107,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 80.826,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.6167,
    "c": 0.15008,
    "h": 127.8
  },
  "luminance": 0.24705
}

Semantic roles & 50–950 ramp

primary
#6B951C
secondary
#754DC0
accent
#3DEB79
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A

Preview Lab

Preview with #6B951C

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

Preview Lab → · Contrast checker → · Palette generator →

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