#6C741B#6C741B

#6C741B is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.5% C 0.109 H 114.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6C741B
RGBrgb(108, 116, 27)
HSLhsl(65, 62%, 28%)
HSVhsv(65, 77%, 45%)
CMYKcmyk(6.9%, 0%, 76.7%, 54.5%)
CIE-LABlab(46.66, -14.93, 44.97)
CIE-LCHlch(46.66, 47.38, 108.37°)
OKLaboklab(53.5% -0.0456 0.0993)
OKLCHoklch(53.5% 0.109 114.7)
XYZxyz(12.6279, 15.7583, 3.4131)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C741B #231B74
analogous
#744F1B #6C741B #3F741B
triadic
#6C741B #1B6C74 #741B6C
tetradic
#6C741B #1B744F #231B74 #741B3F
square
#6C741B #1B744F #231B74 #741B3F
split-complementary
#6C741B #1B3F74 #4F1B74
monochromatic
#171906 #3E420F #6C741B #9AA627 #C3D139

Accessibility & contrast

On white

5.06
#6C741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6C741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C741B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C741B#FFFFFF#000000##FFFFFF
##6C741B1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E08
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#736D63
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6c741b;
/* rgb */ color: rgb(108, 116, 27);
/* oklch */ color: oklch(53.5% 0.109 114.7);
Tailwind
colors: {
  custom: {
    50: '#999b5f',
    500: '#6c741b',
    950: '#000000',
  },
}
SCSS
$custom: #6c741b;
$custom-light: #999b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c741b",
  "rgb": {
    "r": 108,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 65.393,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53502,
    "c": 0.10927,
    "h": 114.7
  },
  "luminance": 0.15758
}

Semantic roles & 50–950 ramp

primary
#6C741B
secondary
#4B42A9
accent
#42E551
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6C741B

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

Preview Lab → · Contrast checker → · Palette generator →

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