#6F7A14#6F7A14

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

Color values

HEX#6F7A14
RGBrgb(111, 122, 20)
HSLhsl(66, 72%, 28%)
HSVhsv(66, 84%, 48%)
CMYKcmyk(9%, 0%, 83.6%, 52.2%)
CIE-LABlab(48.70, -17.08, 49.24)
CIE-LCHlch(48.70, 52.12, 109.13°)
OKLaboklab(55.19% -0.0523 0.107)
OKLCHoklch(55.19% 0.119 116.1)
XYZxyz(13.6417, 17.3493, 3.2918)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7A14 #1F147A
analogous
#7A5214 #6F7A14 #3C7A14
triadic
#6F7A14 #146F7A #7A146F
tetradic
#6F7A14 #147A52 #1F147A #7A143C
square
#6F7A14 #147A52 #1F147A #7A143C
split-complementary
#6F7A14 #143C7A #52147A
monochromatic
#181A04 #3F450B #6F7A14 #9FAF1D #C9DC2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F7A14#FFFFFF#000000##FFFFFF
##6F7A141.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: #6f7a14;
/* rgb */ color: rgb(111, 122, 20);
/* oklch */ color: oklch(55.2% 0.119 116.1);
Tailwind
colors: {
  custom: {
    50: '#9ca05d',
    500: '#6f7a14',
    950: '#000000',
  },
}
SCSS
$custom: #6f7a14;
$custom-light: #9ca05d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7a14",
  "rgb": {
    "r": 111,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 66.471,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5519,
    "c": 0.11905,
    "h": 116.1
  },
  "luminance": 0.17349
}

Semantic roles & 50–950 ramp

primary
#6F7A14
secondary
#473AB0
accent
#39EF4D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #6F7A14

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

Preview Lab → · Contrast checker → · Palette generator →

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