#6D7318#6D7318

#6D7318 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.3% C 0.110 H 113.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6D7318
RGBrgb(109, 115, 24)
HSLhsl(64, 65%, 27%)
HSVhsv(64, 79%, 45%)
CMYKcmyk(5.2%, 0%, 79.1%, 54.9%)
CIE-LABlab(46.42, -14.08, 45.85)
CIE-LCHlch(46.42, 47.96, 107.07°)
OKLaboklab(53.33% -0.0435 0.1006)
OKLCHoklch(53.33% 0.11 113.4)
XYZxyz(12.6027, 15.5789, 3.2071)
Luminance0.1558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7318 #1E1873
analogous
#734C18 #6D7318 #407318
triadic
#6D7318 #186D73 #73186D
tetradic
#6D7318 #18734C #1E1873 #731840
square
#6D7318 #18734C #1E1873 #731840
split-complementary
#6D7318 #184073 #4C1873
monochromatic
#181905 #3D400D #6D7318 #9DA623 #C9D431

Accessibility & contrast

On white

5.10
#6D7318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#6D7318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7318
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7318#FFFFFF#000000##FFFFFF
##6D73181.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D03
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#756C62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6d7318;
/* rgb */ color: rgb(109, 115, 24);
/* oklch */ color: oklch(53.3% 0.110 113.4);
Tailwind
colors: {
  custom: {
    50: '#9a9b5d',
    500: '#6d7318',
    950: '#000000',
  },
}
SCSS
$custom: #6d7318;
$custom-light: #9a9b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7318",
  "rgb": {
    "r": 109,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 63.956,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.53326,
    "c": 0.10959,
    "h": 113.4
  },
  "luminance": 0.15579
}

Semantic roles & 50–950 ramp

primary
#6D7318
secondary
#453FA8
accent
#3FE84B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7318

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

Preview Lab → · Contrast checker → · Palette generator →

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