#6D7B15#6D7B15

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

Color values

HEX#6D7B15
RGBrgb(109, 123, 21)
HSLhsl(68, 71%, 28%)
HSVhsv(68, 83%, 48%)
CMYKcmyk(11.4%, 0%, 82.9%, 51.8%)
CIE-LABlab(48.85, -18.48, 49.02)
CIE-LCHlch(48.85, 52.39, 110.66°)
OKLaboklab(55.27% -0.056 0.1067)
OKLCHoklch(55.27% 0.121 117.7)
XYZxyz(13.5253, 17.4714, 3.3691)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7B15 #23157B
analogous
#7B5615 #6D7B15 #3A7B15
triadic
#6D7B15 #156D7B #7B156D
tetradic
#6D7B15 #157B56 #23157B #7B153A
square
#6D7B15 #157B56 #23157B #7B153A
split-complementary
#6D7B15 #153A7B #56157B
monochromatic
#171A04 #3F470C #6D7B15 #9BAF1E #C4DB2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D7B15#FFFFFF#000000##FFFFFF
##6D7B151.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)
#82751F
Tritanopia (blue-blind)
#747469
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6d7b15;
/* rgb */ color: rgb(109, 123, 21);
/* oklch */ color: oklch(55.3% 0.121 117.7);
Tailwind
colors: {
  custom: {
    50: '#9aa15d',
    500: '#6d7b15',
    950: '#000000',
  },
}
SCSS
$custom: #6d7b15;
$custom-light: #9aa15d;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7b15",
  "rgb": {
    "r": 109,
    "g": 123,
    "b": 21
  },
  "hsl": {
    "h": 68.235,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55273,
    "c": 0.12052,
    "h": 117.7
  },
  "luminance": 0.17471
}

Semantic roles & 50–950 ramp

primary
#6D7B15
secondary
#4B3BB0
accent
#3AEE53
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6D7B15

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

Preview Lab → · Contrast checker → · Palette generator →

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