#6A7814#6A7814

#6A7814 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.3% C 0.119 H 117.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6A7814
RGBrgb(106, 120, 20)
HSLhsl(68, 71%, 27%)
HSVhsv(68, 83%, 47%)
CMYKcmyk(11.7%, 0%, 83.3%, 52.9%)
CIE-LABlab(47.69, -18.30, 48.20)
CIE-LCHlch(47.69, 51.56, 110.80°)
OKLaboklab(54.28% -0.0554 0.1049)
OKLCHoklch(54.28% 0.119 117.8)
XYZxyz(12.7869, 16.5478, 3.1821)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7814 #221478
analogous
#785414 #6A7814 #387814
triadic
#6A7814 #146A78 #78146A
tetradic
#6A7814 #147854 #221478 #781438
square
#6A7814 #147854 #221478 #781438
split-complementary
#6A7814 #143878 #541478
monochromatic
#171A04 #3C440B #6A7814 #98AC1D #C3DC2B

Accessibility & contrast

On white

4.87
#6A7814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#6A7814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7814
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7814#FFFFFF#000000##FFFFFF
##6A78141.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7F721E
Tritanopia (blue-blind)
#717166
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6a7814;
/* rgb */ color: rgb(106, 120, 20);
/* oklch */ color: oklch(54.3% 0.119 117.8);
Tailwind
colors: {
  custom: {
    50: '#989e5c',
    500: '#6a7814',
    950: '#000000',
  },
}
SCSS
$custom: #6a7814;
$custom-light: #989e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7814",
  "rgb": {
    "r": 106,
    "g": 120,
    "b": 20
  },
  "hsl": {
    "h": 68.4,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.54276,
    "c": 0.11864,
    "h": 117.8
  },
  "luminance": 0.16548
}

Semantic roles & 50–950 ramp

primary
#6A7814
secondary
#4A3AAE
accent
#3AEE53
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6A7814

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

Preview Lab → · Contrast checker → · Palette generator →

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