#6F7315#6F7315

#6F7315 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.5% C 0.111 H 112.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6F7315
RGBrgb(111, 115, 21)
HSLhsl(63, 69%, 27%)
HSVhsv(63, 82%, 45%)
CMYKcmyk(3.5%, 0%, 81.7%, 54.9%)
CIE-LABlab(46.57, -13.27, 47.05)
CIE-LCHlch(46.57, 48.89, 105.75°)
OKLaboklab(53.49% -0.0417 0.1025)
OKLCHoklch(53.49% 0.111 112.1)
XYZxyz(12.8221, 15.6954, 3.0634)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7315 #191573
analogous
#734815 #6F7315 #407315
triadic
#6F7315 #156F73 #73156F
tetradic
#6F7315 #157348 #191573 #731540
square
#6F7315 #157348 #191573 #731540
split-complementary
#6F7315 #154073 #481573
monochromatic
#191A05 #3D3F0C #6F7315 #A1A71E #D1D82A

Accessibility & contrast

On white

5.07
#6F7315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6F7315 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7315
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7315#FFFFFF#000000##FFFFFF
##6F73151.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7D6F1E
Tritanopia (blue-blind)
#776B62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6f7315;
/* rgb */ color: rgb(111, 115, 21);
/* oklch */ color: oklch(53.5% 0.111 112.1);
Tailwind
colors: {
  custom: {
    50: '#9b9b5c',
    500: '#6f7315',
    950: '#000000',
  },
}
SCSS
$custom: #6f7315;
$custom-light: #9b9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7315",
  "rgb": {
    "r": 111,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 62.553,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.53487,
    "c": 0.11062,
    "h": 112.1
  },
  "luminance": 0.15695
}

Semantic roles & 50–950 ramp

primary
#6F7315
secondary
#3F3BA9
accent
#3CEC43
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E04
muted
#7E7E79

Preview Lab

Preview with #6F7315

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

Preview Lab → · Contrast checker → · Palette generator →

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