#6C751A#6C751A

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

Color values

HEX#6C751A
RGBrgb(108, 117, 26)
HSLhsl(66, 64%, 28%)
HSVhsv(66, 78%, 46%)
CMYKcmyk(7.7%, 0%, 77.8%, 54.1%)
CIE-LABlab(46.96, -15.52, 45.61)
CIE-LCHlch(46.96, 48.18, 108.80°)
OKLaboklab(53.74% -0.0473 0.1005)
OKLCHoklch(53.74% 0.111 115.2)
XYZxyz(12.7324, 15.9855, 3.3919)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C751A #231A75
analogous
#75501A #6C751A #3E751A
triadic
#6C751A #1A6C75 #751A6C
tetradic
#6C751A #1A7550 #231A75 #751A3E
square
#6C751A #1A7550 #231A75 #751A3E
split-complementary
#6C751A #1A3E75 #501A75
monochromatic
#171906 #3E430F #6C751A #9AA725 #C3D337

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C751A#FFFFFF#000000##FFFFFF
##6C751A1.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)
#7E6F06
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#736E64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6c751a;
/* rgb */ color: rgb(108, 117, 26);
/* oklch */ color: oklch(53.7% 0.111 115.2);
Tailwind
colors: {
  custom: {
    50: '#999c5e',
    500: '#6c751a',
    950: '#000000',
  },
}
SCSS
$custom: #6c751a;
$custom-light: #999c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#6c751a",
  "rgb": {
    "r": 108,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 65.934,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5374,
    "c": 0.11107,
    "h": 115.2
  },
  "luminance": 0.15985
}

Semantic roles & 50–950 ramp

primary
#6C751A
secondary
#4B41AA
accent
#41E752
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6C751A

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

Preview Lab → · Contrast checker → · Palette generator →

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