#6D7D15#6D7D15

#6D7D15 is a mid, vivid yellow. Relative luminance 0.180; OKLCH L 55.8% C 0.123 H 118.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6D7D15
RGBrgb(109, 125, 21)
HSLhsl(69, 71%, 29%)
HSVhsv(69, 83%, 49%)
CMYKcmyk(12.8%, 0%, 83.2%, 51%)
CIE-LABlab(49.46, -19.53, 49.56)
CIE-LCHlch(49.46, 53.27, 111.50°)
OKLaboklab(55.77% -0.0588 0.1079)
OKLCHoklch(55.77% 0.123 118.6)
XYZxyz(13.7760, 17.9727, 3.4527)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7D15 #25157D
analogous
#7D5915 #6D7D15 #397D15
triadic
#6D7D15 #156D7D #7D156D
tetradic
#6D7D15 #157D59 #25157D #7D1539
square
#6D7D15 #157D59 #25157D #7D1539
split-complementary
#6D7D15 #15397D #59157D
monochromatic
#171A04 #3F490C #6D7D15 #9BB11E #C2DC30

Accessibility & contrast

On white

4.57
#6D7D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#6D7D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D7D15
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7D15#FFFFFF#000000##000000
##6D7D151.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#847620
Tritanopia (blue-blind)
#74766A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6d7d15;
/* rgb */ color: rgb(109, 125, 21);
/* oklch */ color: oklch(55.8% 0.123 118.6);
Tailwind
colors: {
  custom: {
    50: '#9aa25d',
    500: '#6d7d15',
    950: '#000000',
  },
}
SCSS
$custom: #6d7d15;
$custom-light: #9aa25d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7d15",
  "rgb": {
    "r": 109,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 69.231,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55768,
    "c": 0.12289,
    "h": 118.6
  },
  "luminance": 0.17973
}

Semantic roles & 50–950 ramp

primary
#6D7D15
secondary
#4E3CB2
accent
#3AEE56
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6D7D15

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

Preview Lab → · Contrast checker → · Palette generator →

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