#6B7418#6B7418

#6B7418 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.4% C 0.111 H 115.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6B7418
RGBrgb(107, 116, 24)
HSLhsl(66, 66%, 27%)
HSVhsv(66, 79%, 45%)
CMYKcmyk(7.8%, 0%, 79.3%, 54.5%)
CIE-LABlab(46.56, -15.54, 45.92)
CIE-LCHlch(46.56, 48.48, 108.70°)
OKLaboklab(53.4% -0.0475 0.1008)
OKLCHoklch(53.4% 0.111 115.2)
XYZxyz(12.4740, 15.6827, 3.2339)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7418 #211874
analogous
#744F18 #6B7418 #3D7418
triadic
#6B7418 #186B74 #74186B
tetradic
#6B7418 #18744F #211874 #74183D
square
#6B7418 #18744F #211874 #74183D
split-complementary
#6B7418 #183D74 #4F1874
monochromatic
#171905 #3C410E #6B7418 #9AA722 #C5D532

Accessibility & contrast

On white

5.08
#6B7418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6B7418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7418
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7418#FFFFFF#000000##FFFFFF
##6B74181.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E02
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#726D63
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6b7418;
/* rgb */ color: rgb(107, 116, 24);
/* oklch */ color: oklch(53.4% 0.111 115.2);
Tailwind
colors: {
  custom: {
    50: '#989b5d',
    500: '#6b7418',
    950: '#000000',
  },
}
SCSS
$custom: #6b7418;
$custom-light: #989b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7418",
  "rgb": {
    "r": 107,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 65.87,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.53395,
    "c": 0.11141,
    "h": 115.2
  },
  "luminance": 0.15683
}

Semantic roles & 50–950 ramp

primary
#6B7418
secondary
#493FA9
accent
#3FE950
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B7418

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

Preview Lab → · Contrast checker → · Palette generator →

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