#6C751C#6C751C

#6C751C is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 53.8% C 0.110 H 115.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#6C751C
RGBrgb(108, 117, 28)
HSLhsl(66, 61%, 28%)
HSVhsv(66, 76%, 46%)
CMYKcmyk(7.7%, 0%, 76.1%, 54.1%)
CIE-LABlab(46.97, -15.42, 44.89)
CIE-LCHlch(46.97, 47.47, 108.96°)
OKLaboklab(53.75% -0.0468 0.0993)
OKLCHoklch(53.75% 0.11 115.3)
XYZxyz(12.7556, 15.9948, 3.5137)
Luminance0.1600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C751C #251C75
analogous
#75511C #6C751C #3F751C
triadic
#6C751C #1C6C75 #751C6C
tetradic
#6C751C #1C7551 #251C75 #751C3F
square
#6C751C #1C7551 #251C75 #751C3F
split-complementary
#6C751C #1C3F75 #511C75
monochromatic
#171906 #3E4410 #6C751C #9AA628 #C1D03B

Accessibility & contrast

On white

5.00
#6C751C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#6C751C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C751C
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C751C#FFFFFF#000000##FFFFFF
##6C751C1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0A
Deuteranopia (green-blind)
#7D7023
Tritanopia (blue-blind)
#736E64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6c751c;
/* rgb */ color: rgb(108, 117, 28);
/* oklch */ color: oklch(53.8% 0.110 115.3);
Tailwind
colors: {
  custom: {
    50: '#999c5f',
    500: '#6c751c',
    950: '#000000',
  },
}
SCSS
$custom: #6c751c;
$custom-light: #999c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c751c",
  "rgb": {
    "r": 108,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 66.067,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53754,
    "c": 0.10982,
    "h": 115.3
  },
  "luminance": 0.15995
}

Semantic roles & 50–950 ramp

primary
#6C751C
secondary
#4E44A9
accent
#43E454
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6C751C

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

Preview Lab → · Contrast checker → · Palette generator →

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