#6A751C#6A751C

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

Color values

HEX#6A751C
RGBrgb(106, 117, 28)
HSLhsl(67, 61%, 28%)
HSVhsv(67, 76%, 46%)
CMYKcmyk(9.4%, 0%, 76.1%, 54.1%)
CIE-LABlab(46.80, -16.34, 44.68)
CIE-LCHlch(46.80, 47.57, 110.09°)
OKLaboklab(53.58% -0.0493 0.099)
OKLCHoklch(53.58% 0.111 116.5)
XYZxyz(12.5151, 15.8708, 3.5025)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A751C #271C75
analogous
#75531C #6A751C #3D751C
triadic
#6A751C #1C6A75 #751C6A
tetradic
#6A751C #1C7553 #271C75 #751C3D
square
#6A751C #1C7553 #271C75 #751C3D
split-complementary
#6A751C #1C3D75 #531C75
monochromatic
#161906 #3D4410 #6A751C #97A628 #BED03B

Accessibility & contrast

On white

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

On black

4.17
#6A751C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6A751C#FFFFFF#000000##FFFFFF
##6A751C1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a751c;
/* rgb */ color: rgb(106, 117, 28);
/* oklch */ color: oklch(53.6% 0.111 116.5);
Tailwind
colors: {
  custom: {
    50: '#979c5f',
    500: '#6a751c',
    950: '#000000',
  },
}
SCSS
$custom: #6a751c;
$custom-light: #979c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a751c",
  "rgb": {
    "r": 106,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 67.416,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53582,
    "c": 0.11054,
    "h": 116.5
  },
  "luminance": 0.15871
}

Semantic roles & 50–950 ramp

primary
#6A751C
secondary
#5044A9
accent
#43E457
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A751C

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

Preview Lab → · Contrast checker → · Palette generator →

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