#6F7B18#6F7B18

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

Color values

HEX#6F7B18
RGBrgb(111, 123, 24)
HSLhsl(67, 67%, 29%)
HSVhsv(67, 80%, 48%)
CMYKcmyk(9.8%, 0%, 80.5%, 51.8%)
CIE-LABlab(49.02, -17.45, 48.30)
CIE-LCHlch(49.02, 51.35, 109.86°)
OKLaboklab(55.46% -0.053 0.1057)
OKLCHoklch(55.46% 0.118 116.6)
XYZxyz(13.8037, 17.6116, 3.5362)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7B18 #24187B
analogous
#7B5618 #6F7B18 #3E7B18
triadic
#6F7B18 #186F7B #7B186F
tetradic
#6F7B18 #187B56 #24187B #7B183E
square
#6F7B18 #187B56 #24187B #7B183E
split-complementary
#6F7B18 #183E7B #56187B
monochromatic
#171A05 #41480E #6F7B18 #9DAE22 #C4D836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F7B18#FFFFFF#000000##FFFFFF
##6F7B181.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)
#767469
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6f7b18;
/* rgb */ color: rgb(111, 123, 24);
/* oklch */ color: oklch(55.5% 0.118 116.6);
Tailwind
colors: {
  custom: {
    50: '#9ba15e',
    500: '#6f7b18',
    950: '#000000',
  },
}
SCSS
$custom: #6f7b18;
$custom-light: #9ba15e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7b18",
  "rgb": {
    "r": 111,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 67.273,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55457,
    "c": 0.11822,
    "h": 116.6
  },
  "luminance": 0.17611
}

Semantic roles & 50–950 ramp

primary
#6F7B18
secondary
#4D3FB0
accent
#3EEA52
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #6F7B18

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

Preview Lab → · Contrast checker → · Palette generator →

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