#6A701E#6A701E

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

Color values

HEX#6A701E
RGBrgb(106, 112, 30)
HSLhsl(64, 58%, 28%)
HSVhsv(64, 73%, 44%)
CMYKcmyk(5.4%, 0%, 73.2%, 56.1%)
CIE-LABlab(45.28, -13.52, 42.42)
CIE-LCHlch(45.28, 44.52, 107.68°)
OKLaboklab(52.37% -0.0412 0.0946)
OKLCHoklch(52.37% 0.103 113.6)
XYZxyz(11.9727, 14.7465, 3.4437)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A701E #241E70
analogous
#704D1E #6A701E #41701E
triadic
#6A701E #1E6A70 #701E6A
tetradic
#6A701E #1E704D #241E70 #701E41
square
#6A701E #1E704D #241E70 #701E41
split-complementary
#6A701E #1E4170 #4D1E70
monochromatic
#171806 #3C4011 #6A701E #98A02B #C1CB3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A701E#FFFFFF#000000##FFFFFF
##6A701E1.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)
#796A10
Deuteranopia (green-blind)
#786C24
Tritanopia (blue-blind)
#716960
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6a701e;
/* rgb */ color: rgb(106, 112, 30);
/* oklch */ color: oklch(52.4% 0.103 113.6);
Tailwind
colors: {
  custom: {
    50: '#979860',
    500: '#6a701e',
    950: '#000000',
  },
}
SCSS
$custom: #6a701e;
$custom-light: #979860;
$custom-dark: #000000;
JSON
{
  "hex": "#6a701e",
  "rgb": {
    "r": 106,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 64.39,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52368,
    "c": 0.10316,
    "h": 113.6
  },
  "luminance": 0.14746
}

Semantic roles & 50–950 ramp

primary
#6A701E
secondary
#4D46A4
accent
#47E152
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6A701E

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

Preview Lab → · Contrast checker → · Palette generator →

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