#6A701D#6A701D

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

Color values

HEX#6A701D
RGBrgb(106, 112, 29)
HSLhsl(64, 59%, 28%)
HSVhsv(64, 74%, 44%)
CMYKcmyk(5.4%, 0%, 74.1%, 56.1%)
CIE-LABlab(45.28, -13.58, 42.81)
CIE-LCHlch(45.28, 44.91, 107.59°)
OKLaboklab(52.36% -0.0415 0.0952)
OKLCHoklch(52.36% 0.104 113.5)
XYZxyz(11.9601, 14.7415, 3.3775)
Luminance0.1474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A701D #231D70
analogous
#704C1D #6A701D #41701D
triadic
#6A701D #1D6A70 #701D6A
tetradic
#6A701D #1D704C #231D70 #701D41
square
#6A701D #1D704C #231D70 #701D41
split-complementary
#6A701D #1D4170 #4C1D70
monochromatic
#171806 #3C3F10 #6A701D #98A12A #C2CC3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A701D#FFFFFF#000000##FFFFFF
##6A701D1.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)
#796A0E
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#716960
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6a701d;
/* rgb */ color: rgb(106, 112, 29);
/* oklch */ color: oklch(52.4% 0.104 113.5);
Tailwind
colors: {
  custom: {
    50: '#97985f',
    500: '#6a701d',
    950: '#000000',
  },
}
SCSS
$custom: #6a701d;
$custom-light: #97985f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a701d",
  "rgb": {
    "r": 106,
    "g": 112,
    "b": 29
  },
  "hsl": {
    "h": 64.337,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5236,
    "c": 0.10385,
    "h": 113.5
  },
  "luminance": 0.14741
}

Semantic roles & 50–950 ramp

primary
#6A701D
secondary
#4B44A4
accent
#46E251
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6A701D

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

Preview Lab → · Contrast checker → · Palette generator →

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