#6D7B13#6D7B13

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

Color values

HEX#6D7B13
RGBrgb(109, 123, 19)
HSLhsl(68, 73%, 28%)
HSVhsv(68, 85%, 48%)
CMYKcmyk(11.4%, 0%, 84.6%, 51.8%)
CIE-LABlab(48.84, -18.56, 49.59)
CIE-LCHlch(48.84, 52.95, 110.52°)
OKLaboklab(55.26% -0.0563 0.1076)
OKLCHoklch(55.26% 0.121 117.6)
XYZxyz(13.5075, 17.4643, 3.2753)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7B13 #21137B
analogous
#7B5513 #6D7B13 #397B13
triadic
#6D7B13 #136D7B #7B136D
tetradic
#6D7B13 #137B55 #21137B #7B1339
square
#6D7B13 #137B55 #21137B #7B1339
split-complementary
#6D7B13 #13397B #55137B
monochromatic
#171B04 #3E460B #6D7B13 #9CB01B #C6DE2A

Accessibility & contrast

On white

4.67
#6D7B13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#6D7B13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D7B13
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7B13#FFFFFF#000000##FFFFFF
##6D7B131.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d7b13;
/* rgb */ color: rgb(109, 123, 19);
/* oklch */ color: oklch(55.3% 0.121 117.6);
Tailwind
colors: {
  custom: {
    50: '#9aa15c',
    500: '#6d7b13',
    950: '#000000',
  },
}
SCSS
$custom: #6d7b13;
$custom-light: #9aa15c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7b13",
  "rgb": {
    "r": 109,
    "g": 123,
    "b": 19
  },
  "hsl": {
    "h": 68.077,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.55264,
    "c": 0.12144,
    "h": 117.6
  },
  "luminance": 0.17464
}

Semantic roles & 50–950 ramp

primary
#6D7B13
secondary
#4939B1
accent
#38F051
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7B13

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

Preview Lab → · Contrast checker → · Palette generator →

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