#6F7C12#6F7C12

#6F7C12 is a mid, vivid yellow. Relative luminance 0.178; OKLCH L 55.7% C 0.122 H 117.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#6F7C12
RGBrgb(111, 124, 18)
HSLhsl(67, 75%, 28%)
HSVhsv(67, 85%, 49%)
CMYKcmyk(10.5%, 0%, 85.5%, 51.4%)
CIE-LABlab(49.30, -18.21, 50.33)
CIE-LCHlch(49.30, 53.52, 109.89°)
OKLaboklab(55.67% -0.0555 0.1089)
OKLCHoklch(55.67% 0.122 117)
XYZxyz(13.8728, 17.8387, 3.2845)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7C12 #1F127C
analogous
#7C5412 #6F7C12 #3A7C12
triadic
#6F7C12 #126F7C #7C126F
tetradic
#6F7C12 #127C54 #1F127C #7C123A
square
#6F7C12 #127C54 #1F127C #7C123A
split-complementary
#6F7C12 #123A7C #54127C
monochromatic
#181B04 #3F470A #6F7C12 #9FB11A #C9E029

Accessibility & contrast

On white

4.60
#6F7C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#6F7C12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7C12
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7C12#FFFFFF#000000##FFFFFF
##6F7C121.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#84761E
Tritanopia (blue-blind)
#777469
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6f7c12;
/* rgb */ color: rgb(111, 124, 18);
/* oklch */ color: oklch(55.7% 0.122 117.0);
Tailwind
colors: {
  custom: {
    50: '#9ca15c',
    500: '#6f7c12',
    950: '#000000',
  },
}
SCSS
$custom: #6f7c12;
$custom-light: #9ca15c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7c12",
  "rgb": {
    "r": 111,
    "g": 124,
    "b": 18
  },
  "hsl": {
    "h": 67.358,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.55672,
    "c": 0.12226,
    "h": 117
  },
  "luminance": 0.17838
}

Semantic roles & 50–950 ramp

primary
#6F7C12
secondary
#4738B2
accent
#37F14D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0F05
muted
#7E7E79

Preview Lab

Preview with #6F7C12

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

Preview Lab → · Contrast checker → · Palette generator →

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