#6F7815#6F7815

#6F7815 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 54.7% C 0.116 H 115.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#6F7815
RGBrgb(111, 120, 21)
HSLhsl(65, 70%, 28%)
HSVhsv(65, 83%, 47%)
CMYKcmyk(7.5%, 0%, 82.5%, 52.9%)
CIE-LABlab(48.09, -15.98, 48.41)
CIE-LCHlch(48.09, 50.98, 108.26°)
OKLaboklab(54.71% -0.0492 0.1054)
OKLCHoklch(54.71% 0.116 115)
XYZxyz(13.4078, 16.8668, 3.2586)
Luminance0.1687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7815 #1E1578
analogous
#785015 #6F7815 #3D7815
triadic
#6F7815 #156F78 #78156F
tetradic
#6F7815 #157850 #1E1578 #78153D
square
#6F7815 #157850 #1E1578 #78153D
split-complementary
#6F7815 #153D78 #501578
monochromatic
#181A05 #3F440C #6F7815 #9FAC1E #CBDA2D

Accessibility & contrast

On white

4.80
#6F7815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#6F7815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7815
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7815#FFFFFF#000000##FFFFFF
##6F78151.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#777066
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6f7815;
/* rgb */ color: rgb(111, 120, 21);
/* oklch */ color: oklch(54.7% 0.116 115.0);
Tailwind
colors: {
  custom: {
    50: '#9c9e5d',
    500: '#6f7815',
    950: '#000000',
  },
}
SCSS
$custom: #6f7815;
$custom-light: #9c9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7815",
  "rgb": {
    "r": 111,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 65.455,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.54705,
    "c": 0.11627,
    "h": 115
  },
  "luminance": 0.16867
}

Semantic roles & 50–950 ramp

primary
#6F7815
secondary
#463BAE
accent
#3BED4B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #6F7815

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

Preview Lab → · Contrast checker → · Palette generator →

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