#6E7915#6E7915

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

Color values

HEX#6E7915
RGBrgb(110, 121, 21)
HSLhsl(67, 70%, 28%)
HSVhsv(67, 83%, 47%)
CMYKcmyk(9.1%, 0%, 82.6%, 52.5%)
CIE-LABlab(48.32, -16.97, 48.58)
CIE-LCHlch(48.32, 51.45, 109.26°)
OKLaboklab(54.86% -0.0518 0.1058)
OKLCHoklch(54.86% 0.118 116.1)
XYZxyz(13.4035, 17.0441, 3.2931)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7915 #201579
analogous
#795215 #6E7915 #3C7915
triadic
#6E7915 #156E79 #79156E
tetradic
#6E7915 #157952 #201579 #79153C
square
#6E7915 #157952 #201579 #79153C
split-complementary
#6E7915 #153C79 #521579
monochromatic
#181A05 #3F450C #6E7915 #9DAD1E #C8DB2E

Accessibility & contrast

On white

4.76
#6E7915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#6E7915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7915
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7915#FFFFFF#000000##FFFFFF
##6E79151.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e7915;
/* rgb */ color: rgb(110, 121, 21);
/* oklch */ color: oklch(54.9% 0.118 116.1);
Tailwind
colors: {
  custom: {
    50: '#9b9f5d',
    500: '#6e7915',
    950: '#000000',
  },
}
SCSS
$custom: #6e7915;
$custom-light: #9b9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7915",
  "rgb": {
    "r": 110,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 66.6,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54865,
    "c": 0.11779,
    "h": 116.1
  },
  "luminance": 0.17044
}

Semantic roles & 50–950 ramp

primary
#6E7915
secondary
#483BAF
accent
#3BED4E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6E7915

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

Preview Lab → · Contrast checker → · Palette generator →

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