#6F7210#6F7210

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

Color values

HEX#6F7210
RGBrgb(111, 114, 16)
HSLhsl(62, 75%, 25%)
HSVhsv(62, 86%, 45%)
CMYKcmyk(2.6%, 0%, 86%, 55.3%)
CIE-LABlab(46.25, -12.91, 48.25)
CIE-LCHlch(46.25, 49.95, 104.98°)
OKLaboklab(53.22% -0.0411 0.1041)
OKLCHoklch(53.22% 0.112 111.5)
XYZxyz(12.6668, 15.4519, 2.8054)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7210 #131072
analogous
#724410 #6F7210 #3E7210
triadic
#6F7210 #106F72 #72106F
tetradic
#6F7210 #107244 #131072 #72103E
square
#6F7210 #107244 #131072 #72103E
split-complementary
#6F7210 #103E72 #441072
monochromatic
#1A1B04 #3B3C08 #6F7210 #A3A818 #D8DD1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F7210#FFFFFF#000000##FFFFFF
##6F72101.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)
#7C6C00
Deuteranopia (green-blind)
#7C6F1A
Tritanopia (blue-blind)
#776A61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6f7210;
/* rgb */ color: rgb(111, 114, 16);
/* oklch */ color: oklch(53.2% 0.112 111.5);
Tailwind
colors: {
  custom: {
    50: '#9c9a5a',
    500: '#6f7210',
    950: '#000000',
  },
}
SCSS
$custom: #6f7210;
$custom-light: #9c9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7210",
  "rgb": {
    "r": 111,
    "g": 114,
    "b": 16
  },
  "hsl": {
    "h": 61.837,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.5322,
    "c": 0.11189,
    "h": 111.5
  },
  "luminance": 0.15452
}

Semantic roles & 50–950 ramp

primary
#6F7210
secondary
#3834A9
accent
#36F23C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E04
muted
#7E7E79

Preview Lab

Preview with #6F7210

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

Preview Lab → · Contrast checker → · Palette generator →

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