#6A681B#6A681B

#6A681B is a mid, moderate yellow. Relative luminance 0.130; OKLCH L 50.4% C 0.096 H 107.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#6A681B
RGBrgb(106, 104, 27)
HSLhsl(58, 59%, 26%)
HSVhsv(58, 75%, 42%)
CMYKcmyk(0%, 1.9%, 74.5%, 58.4%)
CIE-LABlab(42.83, -9.23, 41.23)
CIE-LCHlch(42.83, 42.25, 102.63°)
OKLaboklab(50.4% -0.0296 0.0915)
OKLCHoklch(50.4% 0.096 107.9)
XYZxyz(11.0924, 13.0443, 2.9702)
Luminance0.1304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A681B #1B1D6A
analogous
#6A401B #6A681B #446A1B
triadic
#6A681B #1B6A68 #681B6A
tetradic
#6A681B #1B6A40 #1B1D6A #6A1B44
square
#6A681B #1B6A40 #1B1D6A #6A1B44
split-complementary
#6A681B #1B446A #401B6A
monochromatic
#181806 #39380F #6A681B #9B9827 #CBC734

Accessibility & contrast

On white

5.82
#6A681B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6A681B
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A681B#FFFFFF#000000##FFFFFF
##6A681B1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640E
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#726159
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a681b;
/* rgb */ color: rgb(106, 104, 27);
/* oklch */ color: oklch(50.4% 0.096 107.9);
Tailwind
colors: {
  custom: {
    50: '#97925d',
    500: '#6a681b',
    950: '#000000',
  },
}
SCSS
$custom: #6a681b;
$custom-light: #97925d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a681b",
  "rgb": {
    "r": 106,
    "g": 104,
    "b": 27
  },
  "hsl": {
    "h": 58.481,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50398,
    "c": 0.09614,
    "h": 107.9
  },
  "luminance": 0.13044
}

Semantic roles & 50–950 ramp

primary
#6A681B
secondary
#42449F
accent
#49E345
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0D04
muted
#7E7D79

Preview Lab

Preview with #6A681B

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

Preview Lab → · Contrast checker → · Palette generator →

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