#6D7E17#6D7E17

#6D7E17 is a mid, vivid yellow. Relative luminance 0.182; OKLCH L 56.0% C 0.123 H 119.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6D7E17
RGBrgb(109, 126, 23)
HSLhsl(70, 69%, 29%)
HSVhsv(70, 82%, 49%)
CMYKcmyk(13.5%, 0%, 81.7%, 50.6%)
CIE-LABlab(49.78, -19.96, 49.24)
CIE-LCHlch(49.78, 53.13, 112.07°)
OKLaboklab(56.03% -0.0599 0.1076)
OKLCHoklch(56.03% 0.123 119.1)
XYZxyz(13.9225, 18.2349, 3.5967)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7E17 #28177E
analogous
#7E5C17 #6D7E17 #3A7E17
triadic
#6D7E17 #176D7E #7E176D
tetradic
#6D7E17 #177E5C #28177E #7E173A
square
#6D7E17 #177E5C #28177E #7E173A
split-complementary
#6D7E17 #173A7E #5C177E
monochromatic
#161A05 #404A0E #6D7E17 #9AB220 #BFDA35

Accessibility & contrast

On white

4.52
#6D7E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#6D7E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D7E17
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7E17#FFFFFF#000000##000000
##6D7E171.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#857721
Tritanopia (blue-blind)
#74776B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6d7e17;
/* rgb */ color: rgb(109, 126, 23);
/* oklch */ color: oklch(56.0% 0.123 119.1);
Tailwind
colors: {
  custom: {
    50: '#9aa35e',
    500: '#6d7e17',
    950: '#000000',
  },
}
SCSS
$custom: #6d7e17;
$custom-light: #9aa35e;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7e17",
  "rgb": {
    "r": 109,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 69.903,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56026,
    "c": 0.12312,
    "h": 119.1
  },
  "luminance": 0.18235
}

Semantic roles & 50–950 ramp

primary
#6D7E17
secondary
#513EB3
accent
#3CEC59
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D7E17

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

Preview Lab → · Contrast checker → · Palette generator →

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