#6F7B15#6F7B15

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

Color values

HEX#6F7B15
RGBrgb(111, 123, 21)
HSLhsl(67, 71%, 28%)
HSVhsv(67, 83%, 48%)
CMYKcmyk(9.8%, 0%, 82.9%, 51.8%)
CIE-LABlab(49.01, -17.57, 49.22)
CIE-LCHlch(49.01, 52.26, 109.65°)
OKLaboklab(55.44% -0.0536 0.1071)
OKLCHoklch(55.44% 0.12 116.6)
XYZxyz(13.7742, 17.5998, 3.3808)
Luminance0.1760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7B15 #21157B
analogous
#7B5415 #6F7B15 #3C7B15
triadic
#6F7B15 #156F7B #7B156F
tetradic
#6F7B15 #157B54 #21157B #7B153C
square
#6F7B15 #157B54 #21157B #7B153C
split-complementary
#6F7B15 #153C7B #54157B
monochromatic
#181A04 #40470C #6F7B15 #9EAF1E #C7DB2F

Accessibility & contrast

On white

4.65
#6F7B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6F7B15
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7B15#FFFFFF#000000##FFFFFF
##6F7B151.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#83751F
Tritanopia (blue-blind)
#777369
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6f7b15;
/* rgb */ color: rgb(111, 123, 21);
/* oklch */ color: oklch(55.4% 0.120 116.6);
Tailwind
colors: {
  custom: {
    50: '#9ca15d',
    500: '#6f7b15',
    950: '#000000',
  },
}
SCSS
$custom: #6f7b15;
$custom-light: #9ca15d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7b15",
  "rgb": {
    "r": 111,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 67.059,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5544,
    "c": 0.11974,
    "h": 116.6
  },
  "luminance": 0.176
}

Semantic roles & 50–950 ramp

primary
#6F7B15
secondary
#493BB0
accent
#3AEE4F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #6F7B15

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

Preview Lab → · Contrast checker → · Palette generator →

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