#6A741B#6A741B

#6A741B is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.3% C 0.110 H 115.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6A741B
RGBrgb(106, 116, 27)
HSLhsl(67, 62%, 28%)
HSVhsv(67, 77%, 45%)
CMYKcmyk(8.6%, 0%, 76.7%, 54.5%)
CIE-LABlab(46.49, -15.85, 44.75)
CIE-LCHlch(46.49, 47.48, 109.51°)
OKLaboklab(53.33% -0.048 0.0989)
OKLCHoklch(53.33% 0.11 115.9)
XYZxyz(12.3874, 15.6343, 3.4019)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A741B #251B74
analogous
#74521B #6A741B #3D741B
triadic
#6A741B #1B6A74 #741B6A
tetradic
#6A741B #1B7452 #251B74 #741B3D
square
#6A741B #1B7452 #251B74 #741B3D
split-complementary
#6A741B #1B3D74 #521B74
monochromatic
#171906 #3D420F #6A741B #97A627 #C0D139

Accessibility & contrast

On white

5.09
#6A741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#6A741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A741B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A741B#FFFFFF#000000##FFFFFF
##6A741B1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E08
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#716D63
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6a741b;
/* rgb */ color: rgb(106, 116, 27);
/* oklch */ color: oklch(53.3% 0.110 115.9);
Tailwind
colors: {
  custom: {
    50: '#979b5f',
    500: '#6a741b',
    950: '#000000',
  },
}
SCSS
$custom: #6a741b;
$custom-light: #979b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a741b",
  "rgb": {
    "r": 106,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 66.742,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53328,
    "c": 0.10996,
    "h": 115.9
  },
  "luminance": 0.15634
}

Semantic roles & 50–950 ramp

primary
#6A741B
secondary
#4E42A9
accent
#42E555
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A741B

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

Preview Lab → · Contrast checker → · Palette generator →

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