#6F7C18#6F7C18

#6F7C18 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 55.7% C 0.119 H 117.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6F7C18
RGBrgb(111, 124, 24)
HSLhsl(68, 68%, 29%)
HSVhsv(68, 81%, 49%)
CMYKcmyk(10.5%, 0%, 80.6%, 51.4%)
CIE-LABlab(49.33, -17.97, 48.57)
CIE-LCHlch(49.33, 51.79, 110.31°)
OKLaboklab(55.7% -0.0544 0.1063)
OKLCHoklch(55.7% 0.119 117.1)
XYZxyz(13.9284, 17.8609, 3.5777)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7C18 #25187C
analogous
#7C5718 #6F7C18 #3D7C18
triadic
#6F7C18 #186F7C #7C186F
tetradic
#6F7C18 #187C57 #25187C #7C183D
square
#6F7C18 #187C57 #25187C #7C183D
split-complementary
#6F7C18 #183D7C #57187C
monochromatic
#171A05 #41490E #6F7C18 #9DAF22 #C3D836

Accessibility & contrast

On white

4.59
#6F7C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6F7C18
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7C18#FFFFFF#000000##FFFFFF
##6F7C181.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#76756A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6f7c18;
/* rgb */ color: rgb(111, 124, 24);
/* oklch */ color: oklch(55.7% 0.119 117.1);
Tailwind
colors: {
  custom: {
    50: '#9ba15f',
    500: '#6f7c18',
    950: '#000000',
  },
}
SCSS
$custom: #6f7c18;
$custom-light: #9ba15f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7c18",
  "rgb": {
    "r": 111,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 67.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55702,
    "c": 0.1194,
    "h": 117.1
  },
  "luminance": 0.17861
}

Semantic roles & 50–950 ramp

primary
#6F7C18
secondary
#4E3FB1
accent
#3DEA54
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0F05
muted
#7E7E79

Preview Lab

Preview with #6F7C18

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

Preview Lab → · Contrast checker → · Palette generator →

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