#6F7915#6F7915

#6F7915 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 54.9% C 0.117 H 115.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#6F7915
RGBrgb(111, 121, 21)
HSLhsl(66, 70%, 28%)
HSVhsv(66, 83%, 47%)
CMYKcmyk(8.3%, 0%, 82.6%, 52.5%)
CIE-LABlab(48.40, -16.51, 48.68)
CIE-LCHlch(48.40, 51.40, 108.73°)
OKLaboklab(54.95% -0.0506 0.1059)
OKLCHoklch(54.95% 0.117 115.6)
XYZxyz(13.5287, 17.1086, 3.2989)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7915 #1F1579
analogous
#795115 #6F7915 #3D7915
triadic
#6F7915 #156F79 #79156F
tetradic
#6F7915 #157951 #1F1579 #79153D
square
#6F7915 #157951 #1F1579 #79153D
split-complementary
#6F7915 #153D79 #511579
monochromatic
#181A05 #3F450C #6F7915 #9FAD1E #C9DB2E

Accessibility & contrast

On white

4.75
#6F7915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#6F7915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7915
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7915#FFFFFF#000000##FFFFFF
##6F79151.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#81741F
Tritanopia (blue-blind)
#777167
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6f7915;
/* rgb */ color: rgb(111, 121, 21);
/* oklch */ color: oklch(54.9% 0.117 115.6);
Tailwind
colors: {
  custom: {
    50: '#9c9f5d',
    500: '#6f7915',
    950: '#000000',
  },
}
SCSS
$custom: #6f7915;
$custom-light: #9c9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7915",
  "rgb": {
    "r": 111,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 66,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.5495,
    "c": 0.11742,
    "h": 115.6
  },
  "luminance": 0.17108
}

Semantic roles & 50–950 ramp

primary
#6F7915
secondary
#473BAF
accent
#3BED4C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #6F7915

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

Preview Lab → · Contrast checker → · Palette generator →

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