#6E7B13#6E7B13

#6E7B13 is a mid, vivid yellow. Relative luminance 0.175; OKLCH L 55.3% C 0.121 H 117.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6E7B13
RGBrgb(110, 123, 19)
HSLhsl(68, 73%, 28%)
HSVhsv(68, 85%, 48%)
CMYKcmyk(10.6%, 0%, 84.6%, 51.8%)
CIE-LABlab(48.92, -18.10, 49.69)
CIE-LCHlch(48.92, 52.89, 110.02°)
OKLaboklab(55.35% -0.0551 0.1078)
OKLCHoklch(55.35% 0.121 117.1)
XYZxyz(13.6313, 17.5281, 3.2811)
Luminance0.1753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7B13 #20137B
analogous
#7B5413 #6E7B13 #3A7B13
triadic
#6E7B13 #136E7B #7B136E
tetradic
#6E7B13 #137B54 #20137B #7B133A
square
#6E7B13 #137B54 #20137B #7B133A
split-complementary
#6E7B13 #133A7B #54137B
monochromatic
#181B04 #3F460B #6E7B13 #9DB01B #C8DE2A

Accessibility & contrast

On white

4.66
#6E7B13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#6E7B13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7B13
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7B13#FFFFFF#000000##FFFFFF
##6E7B131.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e7b13;
/* rgb */ color: rgb(110, 123, 19);
/* oklch */ color: oklch(55.3% 0.121 117.1);
Tailwind
colors: {
  custom: {
    50: '#9ba15c',
    500: '#6e7b13',
    950: '#000000',
  },
}
SCSS
$custom: #6e7b13;
$custom-light: #9ba15c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7b13",
  "rgb": {
    "r": 110,
    "g": 123,
    "b": 19
  },
  "hsl": {
    "h": 67.5,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.55347,
    "c": 0.12105,
    "h": 117.1
  },
  "luminance": 0.17528
}

Semantic roles & 50–950 ramp

primary
#6E7B13
secondary
#4839B1
accent
#38F04F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6E7B13

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

Preview Lab → · Contrast checker → · Palette generator →

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