#6F7E0F#6F7E0F

#6F7E0F is a mid, vivid yellow. Relative luminance 0.183; OKLCH L 56.2% C 0.126 H 117.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#6F7E0F
RGBrgb(111, 126, 15)
HSLhsl(68, 79%, 28%)
HSVhsv(68, 88%, 49%)
CMYKcmyk(11.9%, 0%, 88.1%, 50.6%)
CIE-LABlab(49.90, -19.35, 51.59)
CIE-LCHlch(49.90, 55.10, 110.56°)
OKLaboklab(56.15% -0.0589 0.1111)
OKLCHoklch(56.15% 0.126 117.9)
XYZxyz(14.1030, 18.3359, 3.2481)
Luminance0.1834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7E0F #1E0F7E
analogous
#7E550F #6F7E0F #387E0F
triadic
#6F7E0F #0F6F7E #7E0F6F
tetradic
#6F7E0F #0F7E55 #1E0F7E #7E0F38
square
#6F7E0F #0F7E55 #1E0F7E #7E0F38
split-complementary
#6F7E0F #0F387E #550F7E
monochromatic
#181B03 #3F4708 #6F7E0F #9FB516 #CBE523

Accessibility & contrast

On white

4.50
#6F7E0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#6F7E0F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F7E0F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7E0F#FFFFFF#000000##000000
##6F7E0F1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#86771C
Tritanopia (blue-blind)
#76766B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6f7e0f;
/* rgb */ color: rgb(111, 126, 15);
/* oklch */ color: oklch(56.2% 0.126 117.9);
Tailwind
colors: {
  custom: {
    50: '#9ca35c',
    500: '#6f7e0f',
    950: '#000000',
  },
}
SCSS
$custom: #6f7e0f;
$custom-light: #9ca35c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7e0f",
  "rgb": {
    "r": 111,
    "g": 126,
    "b": 15
  },
  "hsl": {
    "h": 68.108,
    "s": 78.723,
    "l": 27.647
  },
  "oklch": {
    "l": 0.56152,
    "c": 0.12576,
    "h": 117.9
  },
  "luminance": 0.18336
}

Semantic roles & 50–950 ramp

primary
#6F7E0F
secondary
#4634B5
accent
#33F54D
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0F0F04
muted
#7E7F79

Preview Lab

Preview with #6F7E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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