#6B7914#6B7914

#6B7914 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 54.6% C 0.119 H 117.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#6B7914
RGBrgb(107, 121, 20)
HSLhsl(68, 72%, 28%)
HSVhsv(68, 83%, 47%)
CMYKcmyk(11.6%, 0%, 83.5%, 52.5%)
CIE-LABlab(48.07, -18.38, 48.57)
CIE-LCHlch(48.07, 51.93, 110.72°)
OKLaboklab(54.61% -0.0556 0.1057)
OKLCHoklch(54.61% 0.119 117.8)
XYZxyz(13.0274, 16.8512, 3.2280)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7914 #221479
analogous
#795514 #6B7914 #387914
triadic
#6B7914 #146B79 #79146B
tetradic
#6B7914 #147955 #221479 #791438
square
#6B7914 #147955 #221479 #791438
split-complementary
#6B7914 #143879 #551479
monochromatic
#171A04 #3D440B #6B7914 #99AE1D #C4DC2B

Accessibility & contrast

On white

4.81
#6B7914 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#6B7914 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7914
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7914#FFFFFF#000000##FFFFFF
##6B79141.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b7914;
/* rgb */ color: rgb(107, 121, 20);
/* oklch */ color: oklch(54.6% 0.119 117.8);
Tailwind
colors: {
  custom: {
    50: '#999f5c',
    500: '#6b7914',
    950: '#000000',
  },
}
SCSS
$custom: #6b7914;
$custom-light: #999f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7914",
  "rgb": {
    "r": 107,
    "g": 121,
    "b": 20
  },
  "hsl": {
    "h": 68.317,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.54608,
    "c": 0.11942,
    "h": 117.8
  },
  "luminance": 0.16851
}

Semantic roles & 50–950 ramp

primary
#6B7914
secondary
#4A3AAF
accent
#39EE53
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6B7914

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

Preview Lab → · Contrast checker → · Palette generator →

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