#6F7A13#6F7A13

#6F7A13 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.2% C 0.120 H 116.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#6F7A13
RGBrgb(111, 122, 19)
HSLhsl(66, 73%, 28%)
HSVhsv(66, 84%, 48%)
CMYKcmyk(9%, 0%, 84.4%, 52.2%)
CIE-LABlab(48.69, -17.12, 49.53)
CIE-LCHlch(48.69, 52.40, 109.07°)
OKLaboklab(55.18% -0.0525 0.1074)
OKLCHoklch(55.18% 0.12 116)
XYZxyz(13.6330, 17.3458, 3.2459)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7A13 #1E137A
analogous
#7A5213 #6F7A13 #3B7A13
triadic
#6F7A13 #136F7A #7A136F
tetradic
#6F7A13 #137A52 #1E137A #7A133B
square
#6F7A13 #137A52 #1E137A #7A133B
split-complementary
#6F7A13 #133B7A #52137A
monochromatic
#181A04 #3F450B #6F7A13 #9FAF1B #CBDE2A

Accessibility & contrast

On white

4.70
#6F7A13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#6F7A13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7A13
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7A13#FFFFFF#000000##FFFFFF
##6F7A131.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#82741E
Tritanopia (blue-blind)
#777268
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6f7a13;
/* rgb */ color: rgb(111, 122, 19);
/* oklch */ color: oklch(55.2% 0.120 116.0);
Tailwind
colors: {
  custom: {
    50: '#9ca05c',
    500: '#6f7a13',
    950: '#000000',
  },
}
SCSS
$custom: #6f7a13;
$custom-light: #9ca05c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7a13",
  "rgb": {
    "r": 111,
    "g": 122,
    "b": 19
  },
  "hsl": {
    "h": 66.408,
    "s": 73.05,
    "l": 27.647
  },
  "oklch": {
    "l": 0.55185,
    "c": 0.11951,
    "h": 116
  },
  "luminance": 0.17346
}

Semantic roles & 50–950 ramp

primary
#6F7A13
secondary
#4639B0
accent
#38F04C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #6F7A13

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

Preview Lab → · Contrast checker → · Palette generator →

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