#6F7418#6F7418

#6F7418 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 53.7% C 0.110 H 112.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#6F7418
RGBrgb(111, 116, 24)
HSLhsl(63, 66%, 27%)
HSVhsv(63, 79%, 45%)
CMYKcmyk(4.3%, 0%, 79.3%, 54.5%)
CIE-LABlab(46.89, -13.69, 46.35)
CIE-LCHlch(46.89, 48.33, 106.46°)
OKLaboklab(53.75% -0.0426 0.1015)
OKLCHoklch(53.75% 0.11 112.8)
XYZxyz(12.9662, 15.9365, 3.2570)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7418 #1D1874
analogous
#744B18 #6F7418 #417418
triadic
#6F7418 #186F74 #74186F
tetradic
#6F7418 #18744B #1D1874 #741841
square
#6F7418 #18744B #1D1874 #741841
split-complementary
#6F7418 #184174 #4B1874
monochromatic
#181905 #3E410E #6F7418 #A0A722 #CCD532

Accessibility & contrast

On white

5.02
#6F7418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#6F7418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7418
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7418#FFFFFF#000000##FFFFFF
##6F74181.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E02
Deuteranopia (green-blind)
#7D7020
Tritanopia (blue-blind)
#776D63
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6f7418;
/* rgb */ color: rgb(111, 116, 24);
/* oklch */ color: oklch(53.7% 0.110 112.8);
Tailwind
colors: {
  custom: {
    50: '#9b9b5d',
    500: '#6f7418',
    950: '#000000',
  },
}
SCSS
$custom: #6f7418;
$custom-light: #9b9b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7418",
  "rgb": {
    "r": 111,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 63.261,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.53747,
    "c": 0.11011,
    "h": 112.8
  },
  "luminance": 0.15936
}

Semantic roles & 50–950 ramp

primary
#6F7418
secondary
#443FA9
accent
#3FE948
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6F7418

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

Preview Lab → · Contrast checker → · Palette generator →

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