#6C681F#6C681F

#6C681F is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.6% C 0.093 H 106.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#6C681F
RGBrgb(108, 104, 31)
HSLhsl(57, 55%, 27%)
HSVhsv(57, 71%, 42%)
CMYKcmyk(0%, 3.7%, 71.3%, 57.6%)
CIE-LABlab(43.05, -8.05, 39.81)
CIE-LCHlch(43.05, 40.62, 101.43°)
OKLaboklab(50.62% -0.0259 0.0892)
OKLCHoklch(50.62% 0.093 106.2)
XYZxyz(11.3824, 13.1881, 3.2420)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C681F #1F236C
analogous
#6C421F #6C681F #4A6C1F
triadic
#6C681F #1F6C68 #681F6C
tetradic
#6C681F #1F6C42 #1F236C #6C1F4A
square
#6C681F #1F6C42 #1F236C #6C1F4A
split-complementary
#6C681F #1F4A6C #421F6C
monochromatic
#181707 #3C3A11 #6C681F #9C962D #C8C03E

Accessibility & contrast

On white

5.77
#6C681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6C681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C681F
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C681F#FFFFFF#000000##FFFFFF
##6C681F1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716414
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#746159
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6c681f;
/* rgb */ color: rgb(108, 104, 31);
/* oklch */ color: oklch(50.6% 0.093 106.2);
Tailwind
colors: {
  custom: {
    50: '#99925f',
    500: '#6c681f',
    950: '#000000',
  },
}
SCSS
$custom: #6c681f;
$custom-light: #99925f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c681f",
  "rgb": {
    "r": 108,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 56.883,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50624,
    "c": 0.09288,
    "h": 106.2
  },
  "luminance": 0.13188
}

Semantic roles & 50–950 ramp

primary
#6C681F
secondary
#474BA0
accent
#51DF49
background
#F9F8F5
surface
#F2F0EA
border
#CCCBC6
text
#0E0D05
muted
#7E7D79

Preview Lab

Preview with #6C681F

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

Preview Lab → · Contrast checker → · Palette generator →

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