#6F7B17#6F7B17

#6F7B17 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.5% C 0.119 H 116.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#6F7B17
RGBrgb(111, 123, 23)
HSLhsl(67, 68%, 29%)
HSVhsv(67, 81%, 48%)
CMYKcmyk(9.8%, 0%, 81.3%, 51.8%)
CIE-LABlab(49.02, -17.49, 48.61)
CIE-LCHlch(49.02, 51.66, 109.79°)
OKLaboklab(55.45% -0.0532 0.1062)
OKLCHoklch(55.45% 0.119 116.6)
XYZxyz(13.7935, 17.6075, 3.4824)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7B17 #23177B
analogous
#7B5517 #6F7B17 #3D7B17
triadic
#6F7B17 #176F7B #7B176F
tetradic
#6F7B17 #177B55 #23177B #7B173D
square
#6F7B17 #177B55 #23177B #7B173D
split-complementary
#6F7B17 #173D7B #55177B
monochromatic
#171A05 #40470D #6F7B17 #9EAF21 #C5D933

Accessibility & contrast

On white

4.64
#6F7B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#6F7B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7B17
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7B17#FFFFFF#000000##FFFFFF
##6F7B171.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#837521
Tritanopia (blue-blind)
#777469
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6f7b17;
/* rgb */ color: rgb(111, 123, 23);
/* oklch */ color: oklch(55.5% 0.119 116.6);
Tailwind
colors: {
  custom: {
    50: '#9ba15e',
    500: '#6f7b17',
    950: '#000000',
  },
}
SCSS
$custom: #6f7b17;
$custom-light: #9ba15e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7b17",
  "rgb": {
    "r": 111,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 67.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55451,
    "c": 0.11874,
    "h": 116.6
  },
  "luminance": 0.17607
}

Semantic roles & 50–950 ramp

primary
#6F7B17
secondary
#4C3EB0
accent
#3CEB51
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #6F7B17

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

Preview Lab → · Contrast checker → · Palette generator →

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