#6D7915#6D7915

#6D7915 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 54.8% C 0.118 H 116.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6D7915
RGBrgb(109, 121, 21)
HSLhsl(67, 70%, 28%)
HSVhsv(67, 83%, 47%)
CMYKcmyk(9.9%, 0%, 82.6%, 52.5%)
CIE-LABlab(48.24, -17.43, 48.47)
CIE-LCHlch(48.24, 51.51, 109.77°)
OKLaboklab(54.78% -0.0531 0.1056)
OKLCHoklch(54.78% 0.118 116.7)
XYZxyz(13.2798, 16.9803, 3.2873)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7915 #211579
analogous
#795315 #6D7915 #3B7915
triadic
#6D7915 #156D79 #79156D
tetradic
#6D7915 #157953 #211579 #79153B
square
#6D7915 #157953 #211579 #79153B
split-complementary
#6D7915 #153B79 #531579
monochromatic
#171A05 #3E450C #6D7915 #9CAD1E #C6DB2E

Accessibility & contrast

On white

4.78
#6D7915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#6D7915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7915
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7915#FFFFFF#000000##FFFFFF
##6D79151.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#747267
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6d7915;
/* rgb */ color: rgb(109, 121, 21);
/* oklch */ color: oklch(54.8% 0.118 116.7);
Tailwind
colors: {
  custom: {
    50: '#9a9f5d',
    500: '#6d7915',
    950: '#000000',
  },
}
SCSS
$custom: #6d7915;
$custom-light: #9a9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7915",
  "rgb": {
    "r": 109,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 67.2,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5478,
    "c": 0.11816,
    "h": 116.7
  },
  "luminance": 0.1698
}

Semantic roles & 50–950 ramp

primary
#6D7915
secondary
#493BAF
accent
#3BED50
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7915

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

Preview Lab → · Contrast checker → · Palette generator →

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