#6A671B#6A671B

#6A671B is a mid, moderate yellow. Relative luminance 0.128; OKLCH L 50.2% C 0.095 H 107.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6A671B
RGBrgb(106, 103, 27)
HSLhsl(58, 59%, 26%)
HSVhsv(58, 75%, 42%)
CMYKcmyk(0%, 2.8%, 74.5%, 58.4%)
CIE-LABlab(42.53, -8.67, 40.93)
CIE-LCHlch(42.53, 41.84, 101.96°)
OKLaboklab(50.16% -0.028 0.0909)
OKLCHoklch(50.16% 0.095 107.1)
XYZxyz(10.9924, 12.8442, 2.9368)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A671B #1B1E6A
analogous
#6A3F1B #6A671B #456A1B
triadic
#6A671B #1B6A67 #671B6A
tetradic
#6A671B #1B6A3F #1B1E6A #6A1B45
square
#6A671B #1B6A3F #1B1E6A #6A1B45
split-complementary
#6A671B #1B456A #3F1B6A
monochromatic
#181806 #39380F #6A671B #9B9627 #CBC634

Accessibility & contrast

On white

5.88
#6A671B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6A671B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A671B
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A671B#FFFFFF#000000##FFFFFF
##6A671B1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70630E
Deuteranopia (green-blind)
#726620
Tritanopia (blue-blind)
#726058
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6a671b;
/* rgb */ color: rgb(106, 103, 27);
/* oklch */ color: oklch(50.2% 0.095 107.1);
Tailwind
colors: {
  custom: {
    50: '#97925d',
    500: '#6a671b',
    950: '#000000',
  },
}
SCSS
$custom: #6a671b;
$custom-light: #97925d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a671b",
  "rgb": {
    "r": 106,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 57.722,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50157,
    "c": 0.09507,
    "h": 107.1
  },
  "luminance": 0.12844
}

Semantic roles & 50–950 ramp

primary
#6A671B
secondary
#42459F
accent
#4BE345
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6A671B

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

Preview Lab → · Contrast checker → · Palette generator →

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