#6B7618#6B7618

#6B7618 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 53.9% C 0.114 H 116.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#6B7618
RGBrgb(107, 118, 24)
HSLhsl(67, 66%, 28%)
HSVhsv(67, 80%, 46%)
CMYKcmyk(9.3%, 0%, 79.7%, 53.7%)
CIE-LABlab(47.17, -16.62, 46.48)
CIE-LCHlch(47.17, 49.36, 109.67°)
OKLaboklab(53.89% -0.0505 0.102)
OKLCHoklch(53.89% 0.114 116.3)
XYZxyz(12.7070, 16.1488, 3.3116)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7618 #231876
analogous
#765218 #6B7618 #3C7618
triadic
#6B7618 #186B76 #76186B
tetradic
#6B7618 #187652 #231876 #76183C
square
#6B7618 #187652 #231876 #76183C
split-complementary
#6B7618 #183C76 #521876
monochromatic
#171905 #3D430E #6B7618 #99A922 #C2D533

Accessibility & contrast

On white

4.96
#6B7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#6B7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7618
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7618#FFFFFF#000000##FFFFFF
##6B76181.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F01
Deuteranopia (green-blind)
#7E7021
Tritanopia (blue-blind)
#726F64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6b7618;
/* rgb */ color: rgb(107, 118, 24);
/* oklch */ color: oklch(53.9% 0.114 116.3);
Tailwind
colors: {
  custom: {
    50: '#989d5e',
    500: '#6b7618',
    950: '#000000',
  },
}
SCSS
$custom: #6b7618;
$custom-light: #989d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7618",
  "rgb": {
    "r": 107,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 67.021,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53888,
    "c": 0.11378,
    "h": 116.3
  },
  "luminance": 0.16149
}

Semantic roles & 50–950 ramp

primary
#6B7618
secondary
#4B3FAB
accent
#3FE953
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B7618

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

Preview Lab → · Contrast checker → · Palette generator →

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