#6A7B15#6A7B15

#6A7B15 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 55.0% C 0.122 H 119.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6A7B15
RGBrgb(106, 123, 21)
HSLhsl(70, 71%, 28%)
HSVhsv(70, 83%, 48%)
CMYKcmyk(13.8%, 0%, 82.9%, 51.8%)
CIE-LABlab(48.62, -19.83, 48.72)
CIE-LCHlch(48.62, 52.61, 112.15°)
OKLaboklab(55.03% -0.0595 0.1062)
OKLCHoklch(55.03% 0.122 119.3)
XYZxyz(13.1625, 17.2843, 3.3521)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7B15 #26157B
analogous
#7B5915 #6A7B15 #377B15
triadic
#6A7B15 #156A7B #7B156A
tetradic
#6A7B15 #157B59 #26157B #7B1537
square
#6A7B15 #157B59 #26157B #7B1537
split-complementary
#6A7B15 #15377B #59157B
monochromatic
#171A04 #3D470C #6A7B15 #97AF1E #BFDB2F

Accessibility & contrast

On white

4.71
#6A7B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#6A7B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7B15
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7B15#FFFFFF#000000##FFFFFF
##6A7B151.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847300
Deuteranopia (green-blind)
#82741F
Tritanopia (blue-blind)
#717469
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6a7b15;
/* rgb */ color: rgb(106, 123, 21);
/* oklch */ color: oklch(55.0% 0.122 119.3);
Tailwind
colors: {
  custom: {
    50: '#98a15d',
    500: '#6a7b15',
    950: '#000000',
  },
}
SCSS
$custom: #6a7b15;
$custom-light: #98a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7b15",
  "rgb": {
    "r": 106,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 70,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55028,
    "c": 0.12176,
    "h": 119.3
  },
  "luminance": 0.17284
}

Semantic roles & 50–950 ramp

primary
#6A7B15
secondary
#4F3BB0
accent
#3AEE58
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A7B15

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

Preview Lab → · Contrast checker → · Palette generator →

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