#6F7A18#6F7A18

#6F7A18 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.2% C 0.117 H 116.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#6F7A18
RGBrgb(111, 122, 24)
HSLhsl(67, 67%, 29%)
HSVhsv(67, 80%, 48%)
CMYKcmyk(9%, 0%, 80.3%, 52.2%)
CIE-LABlab(48.72, -16.92, 48.02)
CIE-LCHlch(48.72, 50.91, 109.41°)
OKLaboklab(55.21% -0.0515 0.1051)
OKLCHoklch(55.21% 0.117 116.1)
XYZxyz(13.6803, 17.3647, 3.4950)
Luminance0.1736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7A18 #23187A
analogous
#7A5418 #6F7A18 #3E7A18
triadic
#6F7A18 #186F7A #7A186F
tetradic
#6F7A18 #187A54 #23187A #7A183E
square
#6F7A18 #187A54 #23187A #7A183E
split-complementary
#6F7A18 #183E7A #54187A
monochromatic
#171A05 #40470E #6F7A18 #9EAD22 #C5D735

Accessibility & contrast

On white

4.69
#6F7A18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#6F7A18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7A18
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7A18#FFFFFF#000000##FFFFFF
##6F7A181.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#827421
Tritanopia (blue-blind)
#777368
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6f7a18;
/* rgb */ color: rgb(111, 122, 24);
/* oklch */ color: oklch(55.2% 0.117 116.1);
Tailwind
colors: {
  custom: {
    50: '#9ba05e',
    500: '#6f7a18',
    950: '#000000',
  },
}
SCSS
$custom: #6f7a18;
$custom-light: #9ba05e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7a18",
  "rgb": {
    "r": 111,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 66.735,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55212,
    "c": 0.11704,
    "h": 116.1
  },
  "luminance": 0.17365
}

Semantic roles & 50–950 ramp

primary
#6F7A18
secondary
#4C3FAF
accent
#3EEA51
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6F7A18

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

Preview Lab → · Contrast checker → · Palette generator →

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