#6D7C1B#6D7C1B

#6D7C1B is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.6% C 0.119 H 118.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6D7C1B
RGBrgb(109, 124, 27)
HSLhsl(69, 64%, 30%)
HSVhsv(69, 78%, 49%)
CMYKcmyk(12.1%, 0%, 78.2%, 51.4%)
CIE-LABlab(49.19, -18.74, 47.38)
CIE-LCHlch(49.19, 50.95, 111.58°)
OKLaboklab(55.56% -0.0562 0.1044)
OKLCHoklch(55.56% 0.119 118.3)
XYZxyz(13.7125, 17.7458, 3.7396)
Luminance0.1775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7C1B #2A1B7C
analogous
#7C5A1B #6D7C1B #3D7C1B
triadic
#6D7C1B #1B6D7C #7C1B6D
tetradic
#6D7C1B #1B7C5A #2A1B7C #7C1B3D
square
#6D7C1B #1B7C5A #2A1B7C #7C1B3D
split-complementary
#6D7C1B #1B3D7C #5A1B7C
monochromatic
#161905 #414A10 #6D7C1B #99AE26 #BDD53D

Accessibility & contrast

On white

4.62
#6D7C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#6D7C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7C1B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7C1B#FFFFFF#000000##FFFFFF
##6D7C1B1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857504
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#74756A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6d7c1b;
/* rgb */ color: rgb(109, 124, 27);
/* oklch */ color: oklch(55.6% 0.119 118.3);
Tailwind
colors: {
  custom: {
    50: '#9aa160',
    500: '#6d7c1b',
    950: '#000000',
  },
}
SCSS
$custom: #6d7c1b;
$custom-light: #9aa160;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7c1b",
  "rgb": {
    "r": 109,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 69.278,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55555,
    "c": 0.11852,
    "h": 118.3
  },
  "luminance": 0.17746
}

Semantic roles & 50–950 ramp

primary
#6D7C1B
secondary
#5443B0
accent
#41E75A
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6D7C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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