#6F7218#6F7218

#6F7218 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.3% C 0.108 H 111.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6F7218
RGBrgb(111, 114, 24)
HSLhsl(62, 65%, 27%)
HSVhsv(62, 79%, 45%)
CMYKcmyk(2.6%, 0%, 78.9%, 55.3%)
CIE-LABlab(46.29, -12.60, 45.79)
CIE-LCHlch(46.29, 47.49, 105.38°)
OKLaboklab(53.26% -0.0396 0.1004)
OKLCHoklch(53.26% 0.108 111.5)
XYZxyz(12.7382, 15.4804, 3.1810)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7218 #1B1872
analogous
#724818 #6F7218 #427218
triadic
#6F7218 #186F72 #72186F
tetradic
#6F7218 #187248 #1B1872 #721842
square
#6F7218 #187248 #1B1872 #721842
split-complementary
#6F7218 #184272 #481872
monochromatic
#191905 #3E3F0D #6F7218 #A0A523 #CED431

Accessibility & contrast

On white

5.13
#6F7218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#6F7218 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7218
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7218#FFFFFF#000000##FFFFFF
##6F72181.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C03
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#776A61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6f7218;
/* rgb */ color: rgb(111, 114, 24);
/* oklch */ color: oklch(53.3% 0.108 111.5);
Tailwind
colors: {
  custom: {
    50: '#9b9a5d',
    500: '#6f7218',
    950: '#000000',
  },
}
SCSS
$custom: #6f7218;
$custom-light: #9b9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7218",
  "rgb": {
    "r": 111,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 62,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.53262,
    "c": 0.10788,
    "h": 111.5
  },
  "luminance": 0.1548
}

Semantic roles & 50–950 ramp

primary
#6F7218
secondary
#423EA7
accent
#40E845
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6F7218

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

Preview Lab → · Contrast checker → · Palette generator →

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