#6A7014#6A7014

#6A7014 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.3% C 0.109 H 113.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6A7014
RGBrgb(106, 112, 20)
HSLhsl(64, 70%, 26%)
HSVhsv(64, 82%, 44%)
CMYKcmyk(5.4%, 0%, 82.1%, 56.1%)
CIE-LABlab(45.23, -14.01, 46.01)
CIE-LCHlch(45.23, 48.09, 106.94°)
OKLaboklab(52.3% -0.0436 0.1002)
OKLCHoklch(52.3% 0.109 113.5)
XYZxyz(11.8647, 14.7033, 2.8747)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7014 #1A1470
analogous
#704814 #6A7014 #3C7014
triadic
#6A7014 #146A70 #70146A
tetradic
#6A7014 #147048 #1A1470 #70143C
square
#6A7014 #147048 #1A1470 #70143C
split-complementary
#6A7014 #143C70 #481470
monochromatic
#191A05 #393C0B #6A7014 #9BA41D #CCD827

Accessibility & contrast

On white

5.33
#6A7014 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#6A7014 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7014
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7014#FFFFFF#000000##FFFFFF
##6A70141.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#796C1D
Tritanopia (blue-blind)
#72695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6a7014;
/* rgb */ color: rgb(106, 112, 20);
/* oklch */ color: oklch(52.3% 0.109 113.5);
Tailwind
colors: {
  custom: {
    50: '#98985b',
    500: '#6a7014',
    950: '#000000',
  },
}
SCSS
$custom: #6a7014;
$custom-light: #98985b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7014",
  "rgb": {
    "r": 106,
    "g": 112,
    "b": 20
  },
  "hsl": {
    "h": 63.913,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.52301,
    "c": 0.1093,
    "h": 113.5
  },
  "luminance": 0.14703
}

Semantic roles & 50–950 ramp

primary
#6A7014
secondary
#4039A6
accent
#3BED47
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A7014

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

Preview Lab → · Contrast checker → · Palette generator →

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