#6F7C15#6F7C15

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

Color values

HEX#6F7C15
RGBrgb(111, 124, 21)
HSLhsl(68, 71%, 28%)
HSVhsv(68, 83%, 49%)
CMYKcmyk(10.5%, 0%, 83.1%, 51.4%)
CIE-LABlab(49.31, -18.10, 49.49)
CIE-LCHlch(49.31, 52.70, 110.09°)
OKLaboklab(55.69% -0.055 0.1077)
OKLCHoklch(55.69% 0.121 117.1)
XYZxyz(13.8989, 17.8491, 3.4224)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7C15 #22157C
analogous
#7C5515 #6F7C15 #3B7C15
triadic
#6F7C15 #156F7C #7C156F
tetradic
#6F7C15 #157C55 #22157C #7C153B
square
#6F7C15 #157C55 #22157C #7C153B
split-complementary
#6F7C15 #153B7C #55157C
monochromatic
#171A04 #40480C #6F7C15 #9EB01E #C6DC30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F7C15#FFFFFF#000000##FFFFFF
##6F7C151.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)
#84761F
Tritanopia (blue-blind)
#767469
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6f7c15;
/* rgb */ color: rgb(111, 124, 21);
/* oklch */ color: oklch(55.7% 0.121 117.1);
Tailwind
colors: {
  custom: {
    50: '#9ca15d',
    500: '#6f7c15',
    950: '#000000',
  },
}
SCSS
$custom: #6f7c15;
$custom-light: #9ca15d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7c15",
  "rgb": {
    "r": 111,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 67.573,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55686,
    "c": 0.12091,
    "h": 117.1
  },
  "luminance": 0.17849
}

Semantic roles & 50–950 ramp

primary
#6F7C15
secondary
#4A3CB1
accent
#3AEE51
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0F05
muted
#7E7E79

Preview Lab

Preview with #6F7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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