#6D7A15#6D7A15

#6D7A15 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.0% C 0.119 H 117.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#6D7A15
RGBrgb(109, 122, 21)
HSLhsl(68, 71%, 28%)
HSVhsv(68, 83%, 48%)
CMYKcmyk(10.7%, 0%, 82.8%, 52.2%)
CIE-LABlab(48.54, -17.95, 48.75)
CIE-LCHlch(48.54, 51.95, 110.22°)
OKLaboklab(55.03% -0.0545 0.1062)
OKLCHoklch(55.03% 0.119 117.2)
XYZxyz(13.4019, 17.2246, 3.3280)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7A15 #22157A
analogous
#7A5415 #6D7A15 #3A7A15
triadic
#6D7A15 #156D7A #7A156D
tetradic
#6D7A15 #157A54 #22157A #7A153A
square
#6D7A15 #157A54 #22157A #7A153A
split-complementary
#6D7A15 #153A7A #54157A
monochromatic
#171A04 #3E460C #6D7A15 #9CAE1E #C5DB2E

Accessibility & contrast

On white

4.72
#6D7A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#6D7A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7A15
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7A15#FFFFFF#000000##FFFFFF
##6D7A151.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d7a15;
/* rgb */ color: rgb(109, 122, 21);
/* oklch */ color: oklch(55.0% 0.119 117.2);
Tailwind
colors: {
  custom: {
    50: '#9aa05d',
    500: '#6d7a15',
    950: '#000000',
  },
}
SCSS
$custom: #6d7a15;
$custom-light: #9aa05d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7a15",
  "rgb": {
    "r": 109,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 67.723,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55027,
    "c": 0.11934,
    "h": 117.2
  },
  "luminance": 0.17224
}

Semantic roles & 50–950 ramp

primary
#6D7A15
secondary
#4A3BAF
accent
#3AED51
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7A15

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

Preview Lab → · Contrast checker → · Palette generator →

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