#6F7E18#6F7E18

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

Color values

HEX#6F7E18
RGBrgb(111, 126, 24)
HSLhsl(69, 68%, 29%)
HSVhsv(69, 81%, 49%)
CMYKcmyk(11.9%, 0%, 81%, 50.6%)
CIE-LABlab(49.94, -19.02, 49.13)
CIE-LCHlch(49.94, 52.68, 111.17°)
OKLaboklab(56.19% -0.0573 0.1075)
OKLCHoklch(56.19% 0.122 118.1)
XYZxyz(14.1816, 18.3673, 3.6621)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7E18 #27187E
analogous
#7E5A18 #6F7E18 #3C7E18
triadic
#6F7E18 #186F7E #7E186F
tetradic
#6F7E18 #187E5A #27187E #7E183C
square
#6F7E18 #187E5A #27187E #7E183C
split-complementary
#6F7E18 #183C7E #5A187E
monochromatic
#171A05 #424B0E #6F7E18 #9CB122 #C1D937

Accessibility & contrast

On white

4.49
#6F7E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F7E18#FFFFFF#000000##000000
##6F7E181.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#76776B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6f7e18;
/* rgb */ color: rgb(111, 126, 24);
/* oklch */ color: oklch(56.2% 0.122 118.1);
Tailwind
colors: {
  custom: {
    50: '#9ca35f',
    500: '#6f7e18',
    950: '#000000',
  },
}
SCSS
$custom: #6f7e18;
$custom-light: #9ca35f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7e18",
  "rgb": {
    "r": 111,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 68.824,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56194,
    "c": 0.12178,
    "h": 118.1
  },
  "luminance": 0.18367
}

Semantic roles & 50–950 ramp

primary
#6F7E18
secondary
#503FB2
accent
#3DEB57
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F7E18

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

Preview Lab → · Contrast checker → · Palette generator →

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