#6E7215#6E7215

#6E7215 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.2% C 0.110 H 112.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6E7215
RGBrgb(110, 114, 21)
HSLhsl(63, 69%, 26%)
HSVhsv(63, 82%, 45%)
CMYKcmyk(3.5%, 0%, 81.6%, 55.3%)
CIE-LABlab(46.18, -13.20, 46.67)
CIE-LCHlch(46.18, 48.50, 105.79°)
OKLaboklab(53.15% -0.0414 0.1017)
OKLCHoklch(53.15% 0.11 112.2)
XYZxyz(12.5835, 15.4041, 3.0197)
Luminance0.1540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7215 #191572
analogous
#724815 #6E7215 #407215
triadic
#6E7215 #156E72 #72156E
tetradic
#6E7215 #157248 #191572 #721540
square
#6E7215 #157248 #191572 #721540
split-complementary
#6E7215 #154072 #481572
monochromatic
#191A05 #3C3E0B #6E7215 #A0A61F #D0D82A

Accessibility & contrast

On white

5.15
#6E7215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#6E7215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7215
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7215#FFFFFF#000000##FFFFFF
##6E72151.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7C6E1E
Tritanopia (blue-blind)
#766A61
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6e7215;
/* rgb */ color: rgb(110, 114, 21);
/* oklch */ color: oklch(53.2% 0.110 112.2);
Tailwind
colors: {
  custom: {
    50: '#9b9a5c',
    500: '#6e7215',
    950: '#000000',
  },
}
SCSS
$custom: #6e7215;
$custom-light: #9b9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7215",
  "rgb": {
    "r": 110,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 62.581,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.53154,
    "c": 0.10981,
    "h": 112.2
  },
  "luminance": 0.15404
}

Semantic roles & 50–950 ramp

primary
#6E7215
secondary
#3F3BA8
accent
#3CEC44
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6E7215

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

Preview Lab → · Contrast checker → · Palette generator →

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