#6F7D12#6F7D12

#6F7D12 is a mid, vivid yellow. Relative luminance 0.181; OKLCH L 55.9% C 0.123 H 117.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6F7D12
RGBrgb(111, 125, 18)
HSLhsl(68, 75%, 28%)
HSVhsv(68, 86%, 49%)
CMYKcmyk(11.2%, 0%, 85.6%, 51%)
CIE-LABlab(49.61, -18.73, 50.59)
CIE-LCHlch(49.61, 53.95, 110.32°)
OKLaboklab(55.92% -0.057 0.1095)
OKLCHoklch(55.92% 0.123 117.5)
XYZxyz(13.9987, 18.0906, 3.3265)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7D12 #20127D
analogous
#7D5512 #6F7D12 #3A7D12
triadic
#6F7D12 #126F7D #7D126F
tetradic
#6F7D12 #127D55 #20127D #7D123A
square
#6F7D12 #127D55 #20127D #7D123A
split-complementary
#6F7D12 #123A7D #55127D
monochromatic
#181B04 #3F480A #6F7D12 #9FB21A #C8E029

Accessibility & contrast

On white

4.55
#6F7D12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#6F7D12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F7D12
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7D12#FFFFFF#000000##000000
##6F7D121.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#85761E
Tritanopia (blue-blind)
#76756A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6f7d12;
/* rgb */ color: rgb(111, 125, 18);
/* oklch */ color: oklch(55.9% 0.123 117.5);
Tailwind
colors: {
  custom: {
    50: '#9ca25c',
    500: '#6f7d12',
    950: '#000000',
  },
}
SCSS
$custom: #6f7d12;
$custom-light: #9ca25c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7d12",
  "rgb": {
    "r": 111,
    "g": 125,
    "b": 18
  },
  "hsl": {
    "h": 67.85,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.55918,
    "c": 0.12343,
    "h": 117.5
  },
  "luminance": 0.1809
}

Semantic roles & 50–950 ramp

primary
#6F7D12
secondary
#4838B3
accent
#36F14F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0F05
muted
#7E7E79

Preview Lab

Preview with #6F7D12

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

Preview Lab → · Contrast checker → · Palette generator →

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