#6F7E17#6F7E17

#6F7E17 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#6F7E17
RGBrgb(111, 126, 23)
HSLhsl(69, 69%, 29%)
HSVhsv(69, 82%, 49%)
CMYKcmyk(11.9%, 0%, 81.7%, 50.6%)
CIE-LABlab(49.93, -19.07, 49.44)
CIE-LCHlch(49.93, 52.99, 111.09°)
OKLaboklab(56.19% -0.0575 0.1079)
OKLCHoklch(56.19% 0.122 118.1)
XYZxyz(14.1714, 18.3632, 3.6084)
Luminance0.1836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7E17 #26177E
analogous
#7E5A17 #6F7E17 #3C7E17
triadic
#6F7E17 #176F7E #7E176F
tetradic
#6F7E17 #177E5A #26177E #7E173C
square
#6F7E17 #177E5A #26177E #7E173C
split-complementary
#6F7E17 #173C7E #5A177E
monochromatic
#171A05 #414A0E #6F7E17 #9DB220 #C2DA35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F7E17#FFFFFF#000000##000000
##6F7E171.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)
#857721
Tritanopia (blue-blind)
#76776B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6f7e17;
/* rgb */ color: rgb(111, 126, 23);
/* oklch */ color: oklch(56.2% 0.122 118.1);
Tailwind
colors: {
  custom: {
    50: '#9ca35e',
    500: '#6f7e17',
    950: '#000000',
  },
}
SCSS
$custom: #6f7e17;
$custom-light: #9ca35e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7e17",
  "rgb": {
    "r": 111,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 68.738,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56189,
    "c": 0.1223,
    "h": 118.1
  },
  "luminance": 0.18363
}

Semantic roles & 50–950 ramp

primary
#6F7E17
secondary
#4F3EB3
accent
#3CEC55
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F7E17

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

Preview Lab → · Contrast checker → · Palette generator →

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