#6E7815#6E7815

#6E7815 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.6% C 0.117 H 115.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#6E7815
RGBrgb(110, 120, 21)
HSLhsl(66, 70%, 28%)
HSVhsv(66, 83%, 47%)
CMYKcmyk(8.3%, 0%, 82.5%, 52.9%)
CIE-LABlab(48.01, -16.44, 48.30)
CIE-LCHlch(48.01, 51.02, 108.79°)
OKLaboklab(54.62% -0.0504 0.1052)
OKLCHoklch(54.62% 0.117 115.6)
XYZxyz(13.2826, 16.8023, 3.2528)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7815 #1F1578
analogous
#785115 #6E7815 #3C7815
triadic
#6E7815 #156E78 #78156E
tetradic
#6E7815 #157851 #1F1578 #78153C
square
#6E7815 #157851 #1F1578 #78153C
split-complementary
#6E7815 #153C78 #511578
monochromatic
#181A05 #3E440C #6E7815 #9EAC1E #C9DA2D

Accessibility & contrast

On white

4.82
#6E7815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#6E7815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7815
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7815#FFFFFF#000000##FFFFFF
##6E78151.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#80731F
Tritanopia (blue-blind)
#767166
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6e7815;
/* rgb */ color: rgb(110, 120, 21);
/* oklch */ color: oklch(54.6% 0.117 115.6);
Tailwind
colors: {
  custom: {
    50: '#9b9e5d',
    500: '#6e7815',
    950: '#000000',
  },
}
SCSS
$custom: #6e7815;
$custom-light: #9b9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7815",
  "rgb": {
    "r": 110,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 66.061,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.54619,
    "c": 0.11663,
    "h": 115.6
  },
  "luminance": 0.16802
}

Semantic roles & 50–950 ramp

primary
#6E7815
secondary
#473BAE
accent
#3BED4D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6E7815

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

Preview Lab → · Contrast checker → · Palette generator →

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