#6D7D18#6D7D18

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

Color values

HEX#6D7D18
RGBrgb(109, 125, 24)
HSLhsl(70, 68%, 29%)
HSVhsv(70, 81%, 49%)
CMYKcmyk(12.8%, 0%, 80.8%, 51%)
CIE-LABlab(49.48, -19.40, 48.65)
CIE-LCHlch(49.48, 52.38, 111.74°)
OKLaboklab(55.78% -0.0582 0.1065)
OKLCHoklch(55.78% 0.121 118.7)
XYZxyz(13.8055, 17.9845, 3.6081)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7D18 #28187D
analogous
#7D5B18 #6D7D18 #3B7D18
triadic
#6D7D18 #186D7D #7D186D
tetradic
#6D7D18 #187D5B #28187D #7D183B
square
#6D7D18 #187D5B #28187D #7D183B
split-complementary
#6D7D18 #183B7D #5B187D
monochromatic
#161A05 #404A0E #6D7D18 #9AB022 #BFD937

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D7D18#FFFFFF#000000##000000
##6D7D181.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)
#867600
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#74766A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6d7d18;
/* rgb */ color: rgb(109, 125, 24);
/* oklch */ color: oklch(55.8% 0.121 118.7);
Tailwind
colors: {
  custom: {
    50: '#9aa25f',
    500: '#6d7d18',
    950: '#000000',
  },
}
SCSS
$custom: #6d7d18;
$custom-light: #9aa25f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7d18",
  "rgb": {
    "r": 109,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 69.505,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55784,
    "c": 0.1214,
    "h": 118.7
  },
  "luminance": 0.17984
}

Semantic roles & 50–950 ramp

primary
#6D7D18
secondary
#513FB2
accent
#3DEB59
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6D7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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