#6D7D1B#6D7D1B

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

Color values

HEX#6D7D1B
RGBrgb(109, 125, 27)
HSLhsl(70, 64%, 30%)
HSVhsv(70, 78%, 49%)
CMYKcmyk(12.8%, 0%, 78.4%, 51%)
CIE-LABlab(49.49, -19.26, 47.67)
CIE-LCHlch(49.49, 51.41, 112.00°)
OKLaboklab(55.8% -0.0576 0.105)
OKLCHoklch(55.8% 0.12 118.8)
XYZxyz(13.8384, 17.9977, 3.7816)
Luminance0.1800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7D1B #2B1B7D
analogous
#7D5C1B #6D7D1B #3C7D1B
triadic
#6D7D1B #1B6D7D #7D1B6D
tetradic
#6D7D1B #1B7D5C #2B1B7D #7D1B3C
square
#6D7D1B #1B7D5C #2B1B7D #7D1B3C
split-complementary
#6D7D1B #1B3C7D #5C1B7D
monochromatic
#161905 #414B10 #6D7D1B #99AF26 #BCD53D

Accessibility & contrast

On white

4.57
#6D7D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D7D1B#FFFFFF#000000##000000
##6D7D1B1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d7d1b;
/* rgb */ color: rgb(109, 125, 27);
/* oklch */ color: oklch(55.8% 0.120 118.8);
Tailwind
colors: {
  custom: {
    50: '#9aa260',
    500: '#6d7d1b',
    950: '#000000',
  },
}
SCSS
$custom: #6d7d1b;
$custom-light: #9aa260;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7d1b",
  "rgb": {
    "r": 109,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 69.796,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55802,
    "c": 0.11975,
    "h": 118.8
  },
  "luminance": 0.17998
}

Semantic roles & 50–950 ramp

primary
#6D7D1B
secondary
#5543B1
accent
#40E75C
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6D7D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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