#6D741B#6D741B

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

Color values

HEX#6D741B
RGBrgb(109, 116, 27)
HSLhsl(65, 62%, 28%)
HSVhsv(65, 77%, 45%)
CMYKcmyk(6%, 0%, 76.7%, 54.5%)
CIE-LABlab(46.74, -14.47, 45.07)
CIE-LCHlch(46.74, 47.34, 107.80°)
OKLaboklab(53.59% -0.0444 0.0995)
OKLCHoklch(53.59% 0.109 114)
XYZxyz(12.7503, 15.8214, 3.4189)
Luminance0.1582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D741B #221B74
analogous
#744E1B #6D741B #40741B
triadic
#6D741B #1B6D74 #741B6D
tetradic
#6D741B #1B744E #221B74 #741B40
square
#6D741B #1B744E #221B74 #741B40
split-complementary
#6D741B #1B4074 #4E1B74
monochromatic
#171906 #3E420F #6D741B #9CA627 #C5D139

Accessibility & contrast

On white

5.04
#6D741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6D741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D741B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D741B#FFFFFF#000000##FFFFFF
##6D741B1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d741b;
/* rgb */ color: rgb(109, 116, 27);
/* oklch */ color: oklch(53.6% 0.109 114.0);
Tailwind
colors: {
  custom: {
    50: '#9a9b5f',
    500: '#6d741b',
    950: '#000000',
  },
}
SCSS
$custom: #6d741b;
$custom-light: #9a9b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d741b",
  "rgb": {
    "r": 109,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 64.719,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.10894,
    "h": 114
  },
  "luminance": 0.15821
}

Semantic roles & 50–950 ramp

primary
#6D741B
secondary
#4A42A9
accent
#42E54F
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D741B

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

Preview Lab → · Contrast checker → · Palette generator →

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