#6A7310#6A7310

#6A7310 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.0% C 0.115 H 115.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6A7310
RGBrgb(106, 115, 16)
HSLhsl(65, 76%, 26%)
HSVhsv(65, 86%, 45%)
CMYKcmyk(7.8%, 0%, 86.1%, 54.9%)
CIE-LABlab(46.13, -15.79, 47.98)
CIE-LCHlch(46.13, 50.51, 108.22°)
OKLaboklab(53.02% -0.0488 0.1037)
OKLCHoklch(53.02% 0.115 115.2)
XYZxyz(12.1685, 15.3633, 2.8145)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7310 #191073
analogous
#734B10 #6A7310 #387310
triadic
#6A7310 #106A73 #73106A
tetradic
#6A7310 #10734B #191073 #731038
square
#6A7310 #10734B #191073 #731038
split-complementary
#6A7310 #103873 #4B1073
monochromatic
#191B04 #383D09 #6A7310 #9CA917 #CDDE1F

Accessibility & contrast

On white

5.16
#6A7310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6A7310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7310
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7310#FFFFFF#000000##FFFFFF
##6A73101.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7B6E1B
Tritanopia (blue-blind)
#726C61
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6a7310;
/* rgb */ color: rgb(106, 115, 16);
/* oklch */ color: oklch(53.0% 0.115 115.2);
Tailwind
colors: {
  custom: {
    50: '#989b5a',
    500: '#6a7310',
    950: '#000000',
  },
}
SCSS
$custom: #6a7310;
$custom-light: #989b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7310",
  "rgb": {
    "r": 106,
    "g": 115,
    "b": 16
  },
  "hsl": {
    "h": 65.455,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.53019,
    "c": 0.11461,
    "h": 115.2
  },
  "luminance": 0.15363
}

Semantic roles & 50–950 ramp

primary
#6A7310
secondary
#3F34AA
accent
#36F247
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6A7310

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

Preview Lab → · Contrast checker → · Palette generator →

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