#6A710F#6A710F

#6A710F is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.5% C 0.113 H 114.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6A710F
RGBrgb(106, 113, 15)
HSLhsl(64, 77%, 25%)
HSVhsv(64, 87%, 44%)
CMYKcmyk(6.2%, 0%, 86.7%, 55.7%)
CIE-LABlab(45.51, -14.74, 47.72)
CIE-LCHlch(45.51, 49.95, 107.17°)
OKLaboklab(52.52% -0.046 0.103)
OKLCHoklch(52.52% 0.113 114.1)
XYZxyz(11.9356, 14.9092, 2.7009)
Luminance0.1491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A710F #160F71
analogous
#71470F #6A710F #39710F
triadic
#6A710F #0F6A71 #710F6A
tetradic
#6A710F #0F7147 #160F71 #710F39
square
#6A710F #0F7147 #160F71 #710F39
split-complementary
#6A710F #0F3971 #470F71
monochromatic
#191B04 #373B08 #6A710F #9DA716 #CFDD1D

Accessibility & contrast

On white

5.27
#6A710F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6A710F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A710F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A710F#FFFFFF#000000##FFFFFF
##6A710F1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7A6D19
Tritanopia (blue-blind)
#726A60
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6a710f;
/* rgb */ color: rgb(106, 113, 15);
/* oklch */ color: oklch(52.5% 0.113 114.1);
Tailwind
colors: {
  custom: {
    50: '#989959',
    500: '#6a710f',
    950: '#000000',
  },
}
SCSS
$custom: #6a710f;
$custom-light: #989959;
$custom-dark: #000000;
JSON
{
  "hex": "#6a710f",
  "rgb": {
    "r": 106,
    "g": 113,
    "b": 15
  },
  "hsl": {
    "h": 64.286,
    "s": 76.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.52522,
    "c": 0.11277,
    "h": 114.1
  },
  "luminance": 0.14909
}

Semantic roles & 50–950 ramp

primary
#6A710F
secondary
#3B33A9
accent
#35F342
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A710F

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

Preview Lab → · Contrast checker → · Palette generator →

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