#6F6812#6F6812

#6F6812 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.8% C 0.101 H 104.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#6F6812
RGBrgb(111, 104, 18)
HSLhsl(55, 72%, 25%)
HSVhsv(55, 84%, 44%)
CMYKcmyk(0%, 6.3%, 83.8%, 56.5%)
CIE-LABlab(43.25, -7.25, 45.06)
CIE-LCHlch(43.25, 45.64, 99.14°)
OKLaboklab(50.83% -0.0252 0.0976)
OKLCHoklch(50.83% 0.101 104.5)
XYZxyz(11.6156, 13.3243, 2.5322)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6812 #12196F
analogous
#6F3912 #6F6812 #476F12
triadic
#6F6812 #126F68 #68126F
tetradic
#6F6812 #126F39 #12196F #6F1247
square
#6F6812 #126F39 #12196F #6F1247
split-complementary
#6F6812 #12476F #39126F
monochromatic
#1A1904 #3A3709 #6F6812 #A4991B #D8CB23

Accessibility & contrast

On white

5.73
#6F6812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6F6812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F6812
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F6812#FFFFFF#000000##FFFFFF
##6F68121.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#746819
Tritanopia (blue-blind)
#786058
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6f6812;
/* rgb */ color: rgb(111, 104, 18);
/* oklch */ color: oklch(50.8% 0.101 104.5);
Tailwind
colors: {
  custom: {
    50: '#9c9259',
    500: '#6f6812',
    950: '#000000',
  },
}
SCSS
$custom: #6f6812;
$custom-light: #9c9259;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6812",
  "rgb": {
    "r": 111,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 55.484,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50828,
    "c": 0.10079,
    "h": 104.5
  },
  "luminance": 0.13324
}

Semantic roles & 50–950 ramp

primary
#6F6812
secondary
#373FA6
accent
#47EF39
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0F0D04
muted
#7E7D79

Preview Lab

Preview with #6F6812

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

Preview Lab → · Contrast checker → · Palette generator →

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