#6D7E12#6D7E12

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

Color values

HEX#6D7E12
RGBrgb(109, 126, 18)
HSLhsl(69, 75%, 28%)
HSVhsv(69, 86%, 49%)
CMYKcmyk(13.5%, 0%, 85.7%, 50.6%)
CIE-LABlab(49.76, -20.16, 50.66)
CIE-LCHlch(49.76, 54.52, 111.70°)
OKLaboklab(56% -0.0608 0.1097)
OKLCHoklch(56% 0.125 119)
XYZxyz(13.8770, 18.2167, 3.3573)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D7E12 #23127E
analogous
#7E5912 #6D7E12 #377E12
triadic
#6D7E12 #126D7E #7E126D
tetradic
#6D7E12 #127E59 #23127E #7E1237
square
#6D7E12 #127E59 #23127E #7E1237
split-complementary
#6D7E12 #12377E #59127E
monochromatic
#171B04 #3F480A #6D7E12 #9BB41A #C4E12A

Accessibility & contrast

On white

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

On black

4.64
#6D7E12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6D7E12
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D7E12#FFFFFF#000000##000000
##6D7E121.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d7e12;
/* rgb */ color: rgb(109, 126, 18);
/* oklch */ color: oklch(56.0% 0.125 119.0);
Tailwind
colors: {
  custom: {
    50: '#9aa35c',
    500: '#6d7e12',
    950: '#000000',
  },
}
SCSS
$custom: #6d7e12;
$custom-light: #9aa35c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d7e12",
  "rgb": {
    "r": 109,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 69.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.56002,
    "c": 0.12542,
    "h": 119
  },
  "luminance": 0.18217
}

Semantic roles & 50–950 ramp

primary
#6D7E12
secondary
#4B38B4
accent
#36F254
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6D7E12

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

Preview Lab → · Contrast checker → · Palette generator →

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