#6D7C18#6D7C18

#6D7C18 is a mid, vivid yellow. Relative luminance 0.177; OKLCH L 55.5% C 0.120 H 118.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6D7C18
RGBrgb(109, 124, 24)
HSLhsl(69, 68%, 29%)
HSVhsv(69, 81%, 49%)
CMYKcmyk(12.1%, 0%, 80.6%, 51.4%)
CIE-LABlab(49.17, -18.88, 48.37)
CIE-LCHlch(49.17, 51.93, 111.32°)
OKLaboklab(55.54% -0.0568 0.1059)
OKLCHoklch(55.54% 0.12 118.2)
XYZxyz(13.6795, 17.7326, 3.5661)
Luminance0.1773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7C18 #27187C
analogous
#7C5918 #6D7C18 #3B7C18
triadic
#6D7C18 #186D7C #7C186D
tetradic
#6D7C18 #187C59 #27187C #7C183B
square
#6D7C18 #187C59 #27187C #7C183B
split-complementary
#6D7C18 #183B7C #59187C
monochromatic
#171A05 #40490E #6D7C18 #9AAF22 #C0D836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D7C18#FFFFFF#000000##FFFFFF
##6D7C181.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)
#857500
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#74756A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6d7c18;
/* rgb */ color: rgb(109, 124, 24);
/* oklch */ color: oklch(55.5% 0.120 118.2);
Tailwind
colors: {
  custom: {
    50: '#9aa15f',
    500: '#6d7c18',
    950: '#000000',
  },
}
SCSS
$custom: #6d7c18;
$custom-light: #9aa15f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7c18",
  "rgb": {
    "r": 109,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 69,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55537,
    "c": 0.12019,
    "h": 118.2
  },
  "luminance": 0.17732
}

Semantic roles & 50–950 ramp

primary
#6D7C18
secondary
#503FB1
accent
#3DEA57
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6D7C18

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

Preview Lab → · Contrast checker → · Palette generator →

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