#6A681F#6A681F

#6A681F is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.4% C 0.093 H 107.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#6A681F
RGBrgb(106, 104, 31)
HSLhsl(58, 55%, 27%)
HSVhsv(58, 71%, 42%)
CMYKcmyk(0%, 1.9%, 70.8%, 58.4%)
CIE-LABlab(42.86, -9.00, 39.56)
CIE-LCHlch(42.86, 40.58, 102.82°)
OKLaboklab(50.43% -0.0285 0.0887)
OKLCHoklch(50.43% 0.093 107.8)
XYZxyz(11.1419, 13.0641, 3.2308)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A681F #1F216A
analogous
#6A431F #6A681F #476A1F
triadic
#6A681F #1F6A68 #681F6A
tetradic
#6A681F #1F6A43 #1F216A #6A1F47
square
#6A681F #1F6A43 #1F216A #6A1F47
split-complementary
#6A681F #1F476A #431F6A
monochromatic
#181707 #3B3A11 #6A681F #99962D #C6C33D

Accessibility & contrast

On white

5.81
#6A681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6A681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A681F
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A681F#FFFFFF#000000##FFFFFF
##6A681F1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716414
Deuteranopia (green-blind)
#726624
Tritanopia (blue-blind)
#726159
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a681f;
/* rgb */ color: rgb(106, 104, 31);
/* oklch */ color: oklch(50.4% 0.093 107.8);
Tailwind
colors: {
  custom: {
    50: '#97925f',
    500: '#6a681f',
    950: '#000000',
  },
}
SCSS
$custom: #6a681f;
$custom-light: #97925f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a681f",
  "rgb": {
    "r": 106,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 58.4,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50431,
    "c": 0.09318,
    "h": 107.8
  },
  "luminance": 0.13064
}

Semantic roles & 50–950 ramp

primary
#6A681F
secondary
#47499E
accent
#4EDE4A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D05
muted
#7E7D79

Preview Lab

Preview with #6A681F

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

Preview Lab → · Contrast checker → · Palette generator →

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