#6D7C15#6D7C15

#6D7C15 is a mid, vivid yellow. Relative luminance 0.177; OKLCH L 55.5% C 0.122 H 118.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6D7C15
RGBrgb(109, 124, 21)
HSLhsl(69, 71%, 28%)
HSVhsv(69, 83%, 49%)
CMYKcmyk(12.1%, 0%, 83.1%, 51.4%)
CIE-LABlab(49.16, -19.00, 49.29)
CIE-LCHlch(49.16, 52.83, 111.08°)
OKLaboklab(55.52% -0.0574 0.1073)
OKLCHoklch(55.52% 0.122 118.1)
XYZxyz(13.6500, 17.7208, 3.4107)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7C15 #24157C
analogous
#7C5715 #6D7C15 #397C15
triadic
#6D7C15 #156D7C #7C156D
tetradic
#6D7C15 #157C57 #24157C #7C1539
square
#6D7C15 #157C57 #24157C #7C1539
split-complementary
#6D7C15 #15397C #57157C
monochromatic
#171A04 #3F480C #6D7C15 #9BB01E #C3DC30

Accessibility & contrast

On white

4.62
#6D7C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#6D7C15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7C15
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7C15#FFFFFF#000000##FFFFFF
##6D7C151.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#837520
Tritanopia (blue-blind)
#747569
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6d7c15;
/* rgb */ color: rgb(109, 124, 21);
/* oklch */ color: oklch(55.5% 0.122 118.1);
Tailwind
colors: {
  custom: {
    50: '#9aa15d',
    500: '#6d7c15',
    950: '#000000',
  },
}
SCSS
$custom: #6d7c15;
$custom-light: #9aa15d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7c15",
  "rgb": {
    "r": 109,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 68.738,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55521,
    "c": 0.1217,
    "h": 118.1
  },
  "luminance": 0.17721
}

Semantic roles & 50–950 ramp

primary
#6D7C15
secondary
#4D3CB1
accent
#3AEE54
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6D7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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