#6D7914#6D7914

#6D7914 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 54.8% C 0.119 H 116.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6D7914
RGBrgb(109, 121, 20)
HSLhsl(67, 72%, 28%)
HSVhsv(67, 83%, 47%)
CMYKcmyk(9.9%, 0%, 83.5%, 52.5%)
CIE-LABlab(48.23, -17.46, 48.77)
CIE-LCHlch(48.23, 51.80, 109.70°)
OKLaboklab(54.78% -0.0532 0.106)
OKLCHoklch(54.78% 0.119 116.7)
XYZxyz(13.2707, 16.9766, 3.2394)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7914 #201479
analogous
#795314 #6D7914 #3A7914
triadic
#6D7914 #146D79 #79146D
tetradic
#6D7914 #147953 #201479 #79143A
square
#6D7914 #147953 #201479 #79143A
split-complementary
#6D7914 #143A79 #531479
monochromatic
#181A04 #3E440B #6D7914 #9CAE1D #C7DC2B

Accessibility & contrast

On white

4.78
#6D7914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#6D7914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7914
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7914#FFFFFF#000000##FFFFFF
##6D79141.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#81731E
Tritanopia (blue-blind)
#747267
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6d7914;
/* rgb */ color: rgb(109, 121, 20);
/* oklch */ color: oklch(54.8% 0.119 116.7);
Tailwind
colors: {
  custom: {
    50: '#9a9f5c',
    500: '#6d7914',
    950: '#000000',
  },
}
SCSS
$custom: #6d7914;
$custom-light: #9a9f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7914",
  "rgb": {
    "r": 109,
    "g": 121,
    "b": 20
  },
  "hsl": {
    "h": 67.129,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.54775,
    "c": 0.11864,
    "h": 116.7
  },
  "luminance": 0.16976
}

Semantic roles & 50–950 ramp

primary
#6D7914
secondary
#483AAF
accent
#39EE4F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7914

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

Preview Lab → · Contrast checker → · Palette generator →

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