#6F7518#6F7518

#6F7518 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.0% C 0.111 H 113.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#6F7518
RGBrgb(111, 117, 24)
HSLhsl(64, 66%, 28%)
HSVhsv(64, 79%, 46%)
CMYKcmyk(5.1%, 0%, 79.5%, 54.1%)
CIE-LABlab(47.19, -14.23, 46.63)
CIE-LCHlch(47.19, 48.75, 106.98°)
OKLaboklab(53.99% -0.0441 0.1021)
OKLCHoklch(53.99% 0.111 113.4)
XYZxyz(13.0821, 16.1683, 3.2956)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7518 #1E1875
analogous
#754C18 #6F7518 #407518
triadic
#6F7518 #186F75 #75186F
tetradic
#6F7518 #18754C #1E1875 #751840
square
#6F7518 #18754C #1E1875 #751840
split-complementary
#6F7518 #184075 #4C1875
monochromatic
#181905 #3F420E #6F7518 #9FA822 #CBD532

Accessibility & contrast

On white

4.96
#6F7518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#6F7518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7518
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7518#FFFFFF#000000##FFFFFF
##6F75181.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F01
Deuteranopia (green-blind)
#7E7120
Tritanopia (blue-blind)
#776E64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6f7518;
/* rgb */ color: rgb(111, 117, 24);
/* oklch */ color: oklch(54.0% 0.111 113.4);
Tailwind
colors: {
  custom: {
    50: '#9b9c5e',
    500: '#6f7518',
    950: '#000000',
  },
}
SCSS
$custom: #6f7518;
$custom-light: #9b9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7518",
  "rgb": {
    "r": 111,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 63.871,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5399,
    "c": 0.11125,
    "h": 113.4
  },
  "luminance": 0.16168
}

Semantic roles & 50–950 ramp

primary
#6F7518
secondary
#463FAA
accent
#3FE94A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6F7518

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

Preview Lab → · Contrast checker → · Palette generator →

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