#6F7C13#6F7C13

#6F7C13 is a mid, vivid yellow. Relative luminance 0.178; OKLCH L 55.7% C 0.122 H 117.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#6F7C13
RGBrgb(111, 124, 19)
HSLhsl(67, 73%, 28%)
HSVhsv(67, 85%, 49%)
CMYKcmyk(10.5%, 0%, 84.7%, 51.4%)
CIE-LABlab(49.30, -18.17, 50.06)
CIE-LCHlch(49.30, 53.25, 109.95°)
OKLaboklab(55.68% -0.0554 0.1085)
OKLCHoklch(55.68% 0.122 117)
XYZxyz(13.8811, 17.8420, 3.3286)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7C13 #20137C
analogous
#7C5513 #6F7C13 #3A7C13
triadic
#6F7C13 #136F7C #7C136F
tetradic
#6F7C13 #137C55 #20137C #7C133A
square
#6F7C13 #137C55 #20137C #7C133A
split-complementary
#6F7C13 #133A7C #55137C
monochromatic
#181B04 #3F470B #6F7C13 #9FB11B #C8DF2B

Accessibility & contrast

On white

4.60
#6F7C13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#6F7C13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7C13
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7C13#FFFFFF#000000##FFFFFF
##6F7C131.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#84761E
Tritanopia (blue-blind)
#777469
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6f7c13;
/* rgb */ color: rgb(111, 124, 19);
/* oklch */ color: oklch(55.7% 0.122 117.0);
Tailwind
colors: {
  custom: {
    50: '#9ca15d',
    500: '#6f7c13',
    950: '#000000',
  },
}
SCSS
$custom: #6f7c13;
$custom-light: #9ca15d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7c13",
  "rgb": {
    "r": 111,
    "g": 124,
    "b": 19
  },
  "hsl": {
    "h": 67.429,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55676,
    "c": 0.12183,
    "h": 117
  },
  "luminance": 0.17842
}

Semantic roles & 50–950 ramp

primary
#6F7C13
secondary
#4839B2
accent
#38F04F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0F05
muted
#7E7E79

Preview Lab

Preview with #6F7C13

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

Preview Lab → · Contrast checker → · Palette generator →

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