#6F7618#6F7618

#6F7618 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.2% C 0.112 H 113.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#6F7618
RGBrgb(111, 118, 24)
HSLhsl(64, 66%, 28%)
HSVhsv(64, 80%, 46%)
CMYKcmyk(5.9%, 0%, 79.7%, 53.7%)
CIE-LABlab(47.50, -14.77, 46.91)
CIE-LCHlch(47.50, 49.18, 107.48°)
OKLaboklab(54.23% -0.0456 0.1027)
OKLCHoklch(54.23% 0.112 113.9)
XYZxyz(13.1993, 16.4026, 3.3347)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7618 #1F1876
analogous
#764E18 #6F7618 #407618
triadic
#6F7618 #186F76 #76186F
tetradic
#6F7618 #18764E #1F1876 #761840
square
#6F7618 #18764E #1F1876 #761840
split-complementary
#6F7618 #184076 #4E1876
monochromatic
#181905 #3F430E #6F7618 #9FA922 #C9D533

Accessibility & contrast

On white

4.91
#6F7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#6F7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7618
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7618#FFFFFF#000000##FFFFFF
##6F76181.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7001
Deuteranopia (green-blind)
#7F7220
Tritanopia (blue-blind)
#776F64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6f7618;
/* rgb */ color: rgb(111, 118, 24);
/* oklch */ color: oklch(54.2% 0.112 113.9);
Tailwind
colors: {
  custom: {
    50: '#9b9d5e',
    500: '#6f7618',
    950: '#000000',
  },
}
SCSS
$custom: #6f7618;
$custom-light: #9b9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7618",
  "rgb": {
    "r": 111,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 64.468,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54234,
    "c": 0.1124,
    "h": 113.9
  },
  "luminance": 0.16402
}

Semantic roles & 50–950 ramp

primary
#6F7618
secondary
#473FAB
accent
#3FE94B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6F7618

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

Preview Lab → · Contrast checker → · Palette generator →

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