#6B7F10#6B7F10

#6B7F10 is a mid, vivid yellow-green. Relative luminance 0.183; OKLCH L 56.1% C 0.128 H 120.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#6B7F10
RGBrgb(107, 127, 16)
HSLhsl(71, 78%, 28%)
HSVhsv(71, 87%, 50%)
CMYKcmyk(15.7%, 0%, 87.4%, 50.2%)
CIE-LABlab(49.91, -21.63, 51.24)
CIE-LCHlch(49.91, 55.62, 112.89°)
OKLaboklab(56.08% -0.0648 0.1107)
OKLCHoklch(56.08% 0.128 120.3)
XYZxyz(13.7466, 18.3420, 3.3063)
Luminance0.1834 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7F10 #24107F
analogous
#7F5B10 #6B7F10 #337F10
triadic
#6B7F10 #106B7F #7F106B
tetradic
#6B7F10 #107F5B #24107F #7F1033
square
#6B7F10 #107F5B #24107F #7F1033
split-complementary
#6B7F10 #10337F #5B107F
monochromatic
#171B03 #3D4909 #6B7F10 #99B517 #C1E426

Accessibility & contrast

On white

4.50
#6B7F10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#6B7F10 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6B7F10
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7F10#FFFFFF#000000##000000
##6B7F101.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#85771D
Tritanopia (blue-blind)
#72786C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6b7f10;
/* rgb */ color: rgb(107, 127, 16);
/* oklch */ color: oklch(56.1% 0.128 120.3);
Tailwind
colors: {
  custom: {
    50: '#99a45c',
    500: '#6b7f10',
    950: '#000000',
  },
}
SCSS
$custom: #6b7f10;
$custom-light: #99a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7f10",
  "rgb": {
    "r": 107,
    "g": 127,
    "b": 16
  },
  "hsl": {
    "h": 70.811,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.56082,
    "c": 0.12828,
    "h": 120.3
  },
  "luminance": 0.18342
}

Semantic roles & 50–950 ramp

primary
#6B7F10
secondary
#4D36B5
accent
#34F456
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6B7F10

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

Preview Lab → · Contrast checker → · Palette generator →

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