#6D7D1C#6D7D1C

#6D7D1C is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 55.8% C 0.119 H 118.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#6D7D1C
RGBrgb(109, 125, 28)
HSLhsl(70, 63%, 30%)
HSVhsv(70, 78%, 49%)
CMYKcmyk(12.8%, 0%, 77.6%, 51%)
CIE-LABlab(49.50, -19.21, 47.32)
CIE-LCHlch(49.50, 51.07, 112.09°)
OKLaboklab(55.81% -0.0574 0.1044)
OKLCHoklch(55.81% 0.119 118.8)
XYZxyz(13.8502, 18.0024, 3.8436)
Luminance0.1800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7D1C #2C1C7D
analogous
#7D5D1C #6D7D1C #3C7D1C
triadic
#6D7D1C #1C6D7D #7D1C6D
tetradic
#6D7D1C #1C7D5D #2C1C7D #7D1C3C
square
#6D7D1C #1C7D5D #2C1C7D #7D1C3C
split-complementary
#6D7D1C #1C3C7D #5D1C7D
monochromatic
#161906 #414B11 #6D7D1C #99AF27 #BCD43F

Accessibility & contrast

On white

4.56
#6D7D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#6D7D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D7D1C
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7D1C#FFFFFF#000000##000000
##6D7D1C1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#867606
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#74766B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6d7d1c;
/* rgb */ color: rgb(109, 125, 28);
/* oklch */ color: oklch(55.8% 0.119 118.8);
Tailwind
colors: {
  custom: {
    50: '#9aa260',
    500: '#6d7d1c',
    950: '#000000',
  },
}
SCSS
$custom: #6d7d1c;
$custom-light: #9aa260;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7d1c",
  "rgb": {
    "r": 109,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 69.897,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.55808,
    "c": 0.11916,
    "h": 118.8
  },
  "luminance": 0.18002
}

Semantic roles & 50–950 ramp

primary
#6D7D1C
secondary
#5644B1
accent
#41E65D
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6D7D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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