#6A7818#6A7818

#6A7818 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.3% C 0.117 H 117.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6A7818
RGBrgb(106, 120, 24)
HSLhsl(69, 67%, 28%)
HSVhsv(69, 80%, 47%)
CMYKcmyk(11.7%, 0%, 80%, 52.9%)
CIE-LABlab(47.70, -18.13, 46.95)
CIE-LCHlch(47.70, 50.33, 111.12°)
OKLaboklab(54.3% -0.0546 0.103)
OKLCHoklch(54.3% 0.117 117.9)
XYZxyz(12.8255, 16.5632, 3.3853)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7818 #261878
analogous
#785618 #6A7818 #3A7818
triadic
#6A7818 #186A78 #78186A
tetradic
#6A7818 #187856 #261878 #78183A
square
#6A7818 #187856 #261878 #78183A
split-complementary
#6A7818 #183A78 #561878
monochromatic
#171A05 #3D450E #6A7818 #97AB22 #BFD634

Accessibility & contrast

On white

4.87
#6A7818 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#6A7818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7818
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7818#FFFFFF#000000##FFFFFF
##6A78181.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7F7221
Tritanopia (blue-blind)
#717166
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6a7818;
/* rgb */ color: rgb(106, 120, 24);
/* oklch */ color: oklch(54.3% 0.117 117.9);
Tailwind
colors: {
  custom: {
    50: '#989e5e',
    500: '#6a7818',
    950: '#000000',
  },
}
SCSS
$custom: #6a7818;
$custom-light: #989e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7818",
  "rgb": {
    "r": 106,
    "g": 120,
    "b": 24
  },
  "hsl": {
    "h": 68.75,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54299,
    "c": 0.11657,
    "h": 117.9
  },
  "luminance": 0.16563
}

Semantic roles & 50–950 ramp

primary
#6A7818
secondary
#4F3FAD
accent
#3EEA57
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A7818

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

Preview Lab → · Contrast checker → · Palette generator →

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