#6F7318#6F7318

#6F7318 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.5% C 0.109 H 112.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6F7318
RGBrgb(111, 115, 24)
HSLhsl(63, 65%, 27%)
HSVhsv(63, 79%, 45%)
CMYKcmyk(3.5%, 0%, 79.1%, 54.9%)
CIE-LABlab(46.59, -13.14, 46.07)
CIE-LCHlch(46.59, 47.91, 105.92°)
OKLaboklab(53.51% -0.0411 0.101)
OKLCHoklch(53.51% 0.109 112.1)
XYZxyz(12.8516, 15.7072, 3.2188)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7318 #1C1873
analogous
#734918 #6F7318 #427318
triadic
#6F7318 #186F73 #73186F
tetradic
#6F7318 #187349 #1C1873 #731842
square
#6F7318 #187349 #1C1873 #731842
split-complementary
#6F7318 #184273 #491873
monochromatic
#181905 #3E400D #6F7318 #A0A623 #CDD431

Accessibility & contrast

On white

5.07
#6F7318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6F7318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7318
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7318#FFFFFF#000000##FFFFFF
##6F73181.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D02
Deuteranopia (green-blind)
#7D6F20
Tritanopia (blue-blind)
#776B62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6f7318;
/* rgb */ color: rgb(111, 115, 24);
/* oklch */ color: oklch(53.5% 0.109 112.1);
Tailwind
colors: {
  custom: {
    50: '#9b9b5d',
    500: '#6f7318',
    950: '#000000',
  },
}
SCSS
$custom: #6f7318;
$custom-light: #9b9b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7318",
  "rgb": {
    "r": 111,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 62.637,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.53505,
    "c": 0.10899,
    "h": 112.1
  },
  "luminance": 0.15707
}

Semantic roles & 50–950 ramp

primary
#6F7318
secondary
#433FA8
accent
#3FE847
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6F7318

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

Preview Lab → · Contrast checker → · Palette generator →

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