#6B741B#6B741B

#6B741B is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.4% C 0.110 H 115.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6B741B
RGBrgb(107, 116, 27)
HSLhsl(66, 62%, 28%)
HSVhsv(66, 77%, 45%)
CMYKcmyk(7.8%, 0%, 76.7%, 54.5%)
CIE-LABlab(46.57, -15.39, 44.86)
CIE-LCHlch(46.57, 47.43, 108.94°)
OKLaboklab(53.42% -0.0468 0.0991)
OKLCHoklch(53.42% 0.11 115.3)
XYZxyz(12.5070, 15.6959, 3.4075)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B741B #241B74
analogous
#74501B #6B741B #3F741B
triadic
#6B741B #1B6B74 #741B6B
tetradic
#6B741B #1B7450 #241B74 #741B3F
square
#6B741B #1B7450 #241B74 #741B3F
split-complementary
#6B741B #1B3F74 #501B74
monochromatic
#171906 #3D420F #6B741B #99A627 #C1D139

Accessibility & contrast

On white

5.07
#6B741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6B741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B741B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B741B#FFFFFF#000000##FFFFFF
##6B741B1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b741b;
/* rgb */ color: rgb(107, 116, 27);
/* oklch */ color: oklch(53.4% 0.110 115.3);
Tailwind
colors: {
  custom: {
    50: '#989b5f',
    500: '#6b741b',
    950: '#000000',
  },
}
SCSS
$custom: #6b741b;
$custom-light: #989b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b741b",
  "rgb": {
    "r": 107,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 66.067,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53415,
    "c": 0.10961,
    "h": 115.3
  },
  "luminance": 0.15696
}

Semantic roles & 50–950 ramp

primary
#6B741B
secondary
#4D42A9
accent
#42E553
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B741B

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

Preview Lab → · Contrast checker → · Palette generator →

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