#6F7A15#6F7A15

#6F7A15 is a mid, moderate yellow. Relative luminance 0.174; 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#6F7A15
RGBrgb(111, 122, 21)
HSLhsl(67, 71%, 28%)
HSVhsv(67, 83%, 48%)
CMYKcmyk(9%, 0%, 82.8%, 52.2%)
CIE-LABlab(48.70, -17.04, 48.95)
CIE-LCHlch(48.70, 51.83, 109.20°)
OKLaboklab(55.2% -0.0521 0.1065)
OKLCHoklch(55.2% 0.119 116.1)
XYZxyz(13.6508, 17.3529, 3.3397)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7A15 #20157A
analogous
#7A5215 #6F7A15 #3C7A15
triadic
#6F7A15 #156F7A #7A156F
tetradic
#6F7A15 #157A52 #20157A #7A153C
square
#6F7A15 #157A52 #20157A #7A153C
split-complementary
#6F7A15 #153C7A #52157A
monochromatic
#181A04 #3F460C #6F7A15 #9FAE1E #C8DB2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F7A15#FFFFFF#000000##FFFFFF
##6F7A151.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)
#82741F
Tritanopia (blue-blind)
#777268
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6f7a15;
/* rgb */ color: rgb(111, 122, 21);
/* oklch */ color: oklch(55.2% 0.119 116.1);
Tailwind
colors: {
  custom: {
    50: '#9ca05d',
    500: '#6f7a15',
    950: '#000000',
  },
}
SCSS
$custom: #6f7a15;
$custom-light: #9ca05d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7a15",
  "rgb": {
    "r": 111,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 66.535,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55195,
    "c": 0.11857,
    "h": 116.1
  },
  "luminance": 0.17353
}

Semantic roles & 50–950 ramp

primary
#6F7A15
secondary
#483BAF
accent
#3AED4E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #6F7A15

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

Preview Lab → · Contrast checker → · Palette generator →

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