#6A701C#6A701C

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

Color values

HEX#6A701C
RGBrgb(106, 112, 28)
HSLhsl(64, 60%, 27%)
HSVhsv(64, 75%, 44%)
CMYKcmyk(5.4%, 0%, 75%, 56.1%)
CIE-LABlab(45.27, -13.63, 43.20)
CIE-LCHlch(45.27, 45.30, 107.51°)
OKLaboklab(52.35% -0.0417 0.0958)
OKLCHoklch(52.35% 0.105 113.5)
XYZxyz(11.9480, 14.7366, 3.3134)
Luminance0.1474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A701C #221C70
analogous
#704C1C #6A701C #40701C
triadic
#6A701C #1C6A70 #701C6A
tetradic
#6A701C #1C704C #221C70 #701C40
square
#6A701C #1C704C #221C70 #701C40
split-complementary
#6A701C #1C4070 #4C1C70
monochromatic
#171806 #3C3F10 #6A701C #98A128 #C3CD39

Accessibility & contrast

On white

5.32
#6A701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6A701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A701C
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A701C#FFFFFF#000000##FFFFFF
##6A701C1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A0D
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#716960
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6a701c;
/* rgb */ color: rgb(106, 112, 28);
/* oklch */ color: oklch(52.4% 0.105 113.5);
Tailwind
colors: {
  custom: {
    50: '#97985f',
    500: '#6a701c',
    950: '#000000',
  },
}
SCSS
$custom: #6a701c;
$custom-light: #97985f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a701c",
  "rgb": {
    "r": 106,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 64.286,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52352,
    "c": 0.10454,
    "h": 113.5
  },
  "luminance": 0.14736
}

Semantic roles & 50–950 ramp

primary
#6A701C
secondary
#4A43A5
accent
#45E350
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6A701C

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

Preview Lab → · Contrast checker → · Palette generator →

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