#6D7B18#6D7B18

#6D7B18 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.3% C 0.119 H 117.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#6D7B18
RGBrgb(109, 123, 24)
HSLhsl(68, 67%, 29%)
HSVhsv(68, 80%, 48%)
CMYKcmyk(11.4%, 0%, 80.5%, 51.8%)
CIE-LABlab(48.86, -18.35, 48.09)
CIE-LCHlch(48.86, 51.48, 110.89°)
OKLaboklab(55.29% -0.0554 0.1053)
OKLCHoklch(55.29% 0.119 117.7)
XYZxyz(13.5548, 17.4832, 3.5245)
Luminance0.1748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7B18 #26187B
analogous
#7B5818 #6D7B18 #3C7B18
triadic
#6D7B18 #186D7B #7B186D
tetradic
#6D7B18 #187B58 #26187B #7B183C
square
#6D7B18 #187B58 #26187B #7B183C
split-complementary
#6D7B18 #183C7B #58187B
monochromatic
#171A05 #40480E #6D7B18 #9AAE22 #C1D836

Accessibility & contrast

On white

4.67
#6D7B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#6D7B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7B18
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7B18#FFFFFF#000000##FFFFFF
##6D7B181.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#827521
Tritanopia (blue-blind)
#747469
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6d7b18;
/* rgb */ color: rgb(109, 123, 24);
/* oklch */ color: oklch(55.3% 0.119 117.7);
Tailwind
colors: {
  custom: {
    50: '#9aa15e',
    500: '#6d7b18',
    950: '#000000',
  },
}
SCSS
$custom: #6d7b18;
$custom-light: #9aa15e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7b18",
  "rgb": {
    "r": 109,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 68.485,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5529,
    "c": 0.119,
    "h": 117.7
  },
  "luminance": 0.17483
}

Semantic roles & 50–950 ramp

primary
#6D7B18
secondary
#4F3FB0
accent
#3EEA56
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7B18

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

Preview Lab → · Contrast checker → · Palette generator →

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