#6B7218#6B7218

#6B7218 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 52.9% C 0.109 H 114.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6B7218
RGBrgb(107, 114, 24)
HSLhsl(65, 65%, 27%)
HSVhsv(65, 79%, 45%)
CMYKcmyk(6.1%, 0%, 78.9%, 55.3%)
CIE-LABlab(45.94, -14.46, 45.35)
CIE-LCHlch(45.94, 47.60, 107.69°)
OKLaboklab(52.9% -0.0445 0.0996)
OKLCHoklch(52.9% 0.109 114.1)
XYZxyz(12.2460, 15.2266, 3.1579)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7218 #1F1872
analogous
#724C18 #6B7218 #3E7218
triadic
#6B7218 #186B72 #72186B
tetradic
#6B7218 #18724C #1F1872 #72183E
square
#6B7218 #18724C #1F1872 #72183E
split-complementary
#6B7218 #183E72 #4C1872
monochromatic
#181905 #3C3F0D #6B7218 #9AA523 #C7D431

Accessibility & contrast

On white

5.19
#6B7218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6B7218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7218
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7218#FFFFFF#000000##FFFFFF
##6B72181.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C03
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#736B61
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6b7218;
/* rgb */ color: rgb(107, 114, 24);
/* oklch */ color: oklch(52.9% 0.109 114.1);
Tailwind
colors: {
  custom: {
    50: '#989a5d',
    500: '#6b7218',
    950: '#000000',
  },
}
SCSS
$custom: #6b7218;
$custom-light: #989a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7218",
  "rgb": {
    "r": 107,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 64.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.52904,
    "c": 0.10907,
    "h": 114.1
  },
  "luminance": 0.15226
}

Semantic roles & 50–950 ramp

primary
#6B7218
secondary
#473EA7
accent
#40E84D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6B7218

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

Preview Lab → · Contrast checker → · Palette generator →

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