#6F7215#6F7215

#6F7215 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.2% C 0.110 H 111.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6F7215
RGBrgb(111, 114, 21)
HSLhsl(62, 69%, 26%)
HSVhsv(62, 82%, 45%)
CMYKcmyk(2.6%, 0%, 81.6%, 55.3%)
CIE-LABlab(46.27, -12.73, 46.78)
CIE-LCHlch(46.27, 48.48, 105.22°)
OKLaboklab(53.25% -0.0402 0.1019)
OKLCHoklch(53.25% 0.11 111.5)
XYZxyz(12.7087, 15.4686, 3.0256)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7215 #181572
analogous
#724715 #6F7215 #417215
triadic
#6F7215 #156F72 #72156F
tetradic
#6F7215 #157247 #181572 #721541
square
#6F7215 #157247 #181572 #721541
split-complementary
#6F7215 #154172 #471572
monochromatic
#191A05 #3D3E0B #6F7215 #A1A61F #D2D82A

Accessibility & contrast

On white

5.13
#6F7215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#6F7215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7215
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7215#FFFFFF#000000##FFFFFF
##6F72151.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7C6F1D
Tritanopia (blue-blind)
#776A61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6f7215;
/* rgb */ color: rgb(111, 114, 21);
/* oklch */ color: oklch(53.2% 0.110 111.5);
Tailwind
colors: {
  custom: {
    50: '#9b9a5c',
    500: '#6f7215',
    950: '#000000',
  },
}
SCSS
$custom: #6f7215;
$custom-light: #9b9a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7215",
  "rgb": {
    "r": 111,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 61.935,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.53245,
    "c": 0.10952,
    "h": 111.5
  },
  "luminance": 0.15468
}

Semantic roles & 50–950 ramp

primary
#6F7215
secondary
#3E3BA8
accent
#3CEC42
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E04
muted
#7E7E79

Preview Lab

Preview with #6F7215

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

Preview Lab → · Contrast checker → · Palette generator →

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