#6A641F#6A641F

#6A641F is a mid, moderate yellow. Relative luminance 0.123; OKLCH L 49.5% C 0.089 H 104.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6A641F
RGBrgb(106, 100, 31)
HSLhsl(55, 55%, 27%)
HSVhsv(55, 71%, 42%)
CMYKcmyk(0%, 5.7%, 70.8%, 58.4%)
CIE-LABlab(41.65, -6.72, 38.34)
CIE-LCHlch(41.65, 38.92, 99.94°)
OKLaboklab(49.47% -0.022 0.0861)
OKLCHoklch(49.47% 0.089 104.3)
XYZxyz(10.7488, 12.2779, 3.0997)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A641F #1F256A
analogous
#6A3F1F #6A641F #4B6A1F
triadic
#6A641F #1F6A64 #641F6A
tetradic
#6A641F #1F6A3F #1F256A #6A1F4B
square
#6A641F #1F6A3F #1F256A #6A1F4B
split-complementary
#6A641F #1F4B6A #3F1F6A
monochromatic
#181607 #3B3711 #6A641F #99912D #C6BB3D

Accessibility & contrast

On white

6.08
#6A641F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6A641F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A641F
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A641F#FFFFFF#000000##FFFFFF
##6A641F1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6015
Deuteranopia (green-blind)
#6F6423
Tritanopia (blue-blind)
#725D56
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6a641f;
/* rgb */ color: rgb(106, 100, 31);
/* oklch */ color: oklch(49.5% 0.089 104.3);
Tailwind
colors: {
  custom: {
    50: '#978f5f',
    500: '#6a641f',
    950: '#000000',
  },
}
SCSS
$custom: #6a641f;
$custom-light: #978f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a641f",
  "rgb": {
    "r": 106,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 55.2,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49471,
    "c": 0.08891,
    "h": 104.3
  },
  "luminance": 0.12277
}

Semantic roles & 50–950 ramp

primary
#6A641F
secondary
#474E9E
accent
#56DE4A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C05
muted
#7E7D79

Preview Lab

Preview with #6A641F

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

Preview Lab → · Contrast checker → · Palette generator →

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