#6A751F#6A751F

#6A751F is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.6% C 0.109 H 116.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6A751F
RGBrgb(106, 117, 31)
HSLhsl(68, 58%, 29%)
HSVhsv(68, 74%, 46%)
CMYKcmyk(9.4%, 0%, 73.5%, 54.1%)
CIE-LABlab(46.82, -16.17, 43.53)
CIE-LCHlch(46.82, 46.44, 110.38°)
OKLaboklab(53.61% -0.0485 0.0971)
OKLCHoklch(53.61% 0.109 116.5)
XYZxyz(12.5528, 15.8858, 3.7011)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A751F #2A1F75
analogous
#75551F #6A751F #3F751F
triadic
#6A751F #1F6A75 #751F6A
tetradic
#6A751F #1F7555 #2A1F75 #751F3F
square
#6A751F #1F7555 #2A1F75 #751F3F
split-complementary
#6A751F #1F3F75 #551F75
monochromatic
#161806 #3E4512 #6A751F #96A52C #BBCD42

Accessibility & contrast

On white

5.03
#6A751F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#6A751F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A751F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A751F#FFFFFF#000000##FFFFFF
##6A751F1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F10
Deuteranopia (green-blind)
#7C7026
Tritanopia (blue-blind)
#716E64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6a751f;
/* rgb */ color: rgb(106, 117, 31);
/* oklch */ color: oklch(53.6% 0.109 116.5);
Tailwind
colors: {
  custom: {
    50: '#979c61',
    500: '#6a751f',
    950: '#000000',
  },
}
SCSS
$custom: #6a751f;
$custom-light: #979c61;
$custom-dark: #000000;
JSON
{
  "hex": "#6a751f",
  "rgb": {
    "r": 106,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 67.674,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53605,
    "c": 0.10853,
    "h": 116.5
  },
  "luminance": 0.15886
}

Semantic roles & 50–950 ramp

primary
#6A751F
secondary
#5447A9
accent
#46E15A
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A751F

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

Preview Lab → · Contrast checker → · Palette generator →

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