#6D6918#6D6918

#6D6918 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.9% C 0.099 H 106.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#6D6918
RGBrgb(109, 105, 24)
HSLhsl(57, 64%, 26%)
HSVhsv(57, 78%, 43%)
CMYKcmyk(0%, 3.7%, 78%, 57.3%)
CIE-LABlab(43.39, -8.52, 43.03)
CIE-LCHlch(43.39, 43.87, 101.21°)
OKLaboklab(50.91% -0.0281 0.0946)
OKLCHoklch(50.91% 0.099 106.5)
XYZxyz(11.5236, 13.4207, 2.8474)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D6918 #181C6D
analogous
#6D3E18 #6D6918 #466D18
triadic
#6D6918 #186D69 #69186D
tetradic
#6D6918 #186D3E #181C6D #6D1846
square
#6D6918 #186D3E #181C6D #6D1846
split-complementary
#6D6918 #18466D #3E186D
monochromatic
#191806 #3B390D #6D6918 #9F9923 #D1C92E

Accessibility & contrast

On white

5.70
#6D6918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#6D6918 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D6918
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D6918#FFFFFF#000000##FFFFFF
##6D69181.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736507
Deuteranopia (green-blind)
#74681E
Tritanopia (blue-blind)
#76625A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6d6918;
/* rgb */ color: rgb(109, 105, 24);
/* oklch */ color: oklch(50.9% 0.099 106.5);
Tailwind
colors: {
  custom: {
    50: '#9a935c',
    500: '#6d6918',
    950: '#000000',
  },
}
SCSS
$custom: #6d6918;
$custom-light: #9a935c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d6918",
  "rgb": {
    "r": 109,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 57.176,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50906,
    "c": 0.09867,
    "h": 106.5
  },
  "luminance": 0.1342
}

Semantic roles & 50–950 ramp

primary
#6D6918
secondary
#3E43A3
accent
#49E741
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6D6918

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

Preview Lab → · Contrast checker → · Palette generator →

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