#6F7310#6F7310

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

Color values

HEX#6F7310
RGBrgb(111, 115, 16)
HSLhsl(62, 76%, 26%)
HSVhsv(62, 86%, 45%)
CMYKcmyk(3.5%, 0%, 86.1%, 54.9%)
CIE-LABlab(46.55, -13.46, 48.51)
CIE-LCHlch(46.55, 50.34, 105.50°)
OKLaboklab(53.46% -0.0426 0.1046)
OKLCHoklch(53.46% 0.113 112.2)
XYZxyz(12.7803, 15.6787, 2.8432)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7310 #141073
analogous
#734510 #6F7310 #3D7310
triadic
#6F7310 #106F73 #73106F
tetradic
#6F7310 #107345 #141073 #73103D
square
#6F7310 #107345 #141073 #73103D
split-complementary
#6F7310 #103D73 #451073
monochromatic
#1A1B04 #3B3D09 #6F7310 #A3A917 #D7DE1F

Accessibility & contrast

On white

5.08
#6F7310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6F7310
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7310#FFFFFF#000000##FFFFFF
##6F73101.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f7310;
/* rgb */ color: rgb(111, 115, 16);
/* oklch */ color: oklch(53.5% 0.113 112.2);
Tailwind
colors: {
  custom: {
    50: '#9c9b5a',
    500: '#6f7310',
    950: '#000000',
  },
}
SCSS
$custom: #6f7310;
$custom-light: #9c9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7310",
  "rgb": {
    "r": 111,
    "g": 115,
    "b": 16
  },
  "hsl": {
    "h": 62.424,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.53462,
    "c": 0.11297,
    "h": 112.2
  },
  "luminance": 0.15678
}

Semantic roles & 50–950 ramp

primary
#6F7310
secondary
#3934AA
accent
#36F23D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E04
muted
#7E7E79

Preview Lab

Preview with #6F7310

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

Preview Lab → · Contrast checker → · Palette generator →

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