#6C751F#6C751F

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

Color values

HEX#6C751F
RGBrgb(108, 117, 31)
HSLhsl(66, 58%, 29%)
HSVhsv(66, 74%, 46%)
CMYKcmyk(7.7%, 0%, 73.5%, 54.1%)
CIE-LABlab(46.99, -15.26, 43.75)
CIE-LCHlch(46.99, 46.33, 109.22°)
OKLaboklab(53.78% -0.0461 0.0975)
OKLCHoklch(53.78% 0.108 115.3)
XYZxyz(12.7933, 16.0099, 3.7123)
Luminance0.1601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C751F #281F75
analogous
#75531F #6C751F #41751F
triadic
#6C751F #1F6C75 #751F6C
tetradic
#6C751F #1F7553 #281F75 #751F41
square
#6C751F #1F7553 #281F75 #751F41
split-complementary
#6C751F #1F4175 #531F75
monochromatic
#161806 #3F4512 #6C751F #99A52C #BECD42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C751F#FFFFFF#000000##FFFFFF
##6C751F1.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)
#7E6F10
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#736E64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6c751f;
/* rgb */ color: rgb(108, 117, 31);
/* oklch */ color: oklch(53.8% 0.108 115.3);
Tailwind
colors: {
  custom: {
    50: '#999c61',
    500: '#6c751f',
    950: '#000000',
  },
}
SCSS
$custom: #6c751f;
$custom-light: #999c61;
$custom-dark: #000000;
JSON
{
  "hex": "#6c751f",
  "rgb": {
    "r": 108,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 66.279,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53776,
    "c": 0.10783,
    "h": 115.3
  },
  "luminance": 0.1601
}

Semantic roles & 50–950 ramp

primary
#6C751F
secondary
#5147A9
accent
#46E157
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6C751F

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

Preview Lab → · Contrast checker → · Palette generator →

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