#6D701C#6D701C

#6D701C is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.6% C 0.104 H 111.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6D701C
RGBrgb(109, 112, 28)
HSLhsl(62, 60%, 27%)
HSVhsv(62, 75%, 44%)
CMYKcmyk(2.7%, 0%, 75%, 56.1%)
CIE-LABlab(45.53, -12.23, 43.54)
CIE-LCHlch(45.53, 45.22, 105.69°)
OKLaboklab(52.62% -0.038 0.0964)
OKLCHoklch(52.62% 0.104 111.5)
XYZxyz(12.3108, 14.9237, 3.3304)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D701C #1F1C70
analogous
#70491C #6D701C #43701C
triadic
#6D701C #1C6D70 #701C6D
tetradic
#6D701C #1C7049 #1F1C70 #701C43
square
#6D701C #1C7049 #1F1C70 #701C43
split-complementary
#6D701C #1C4370 #491C70
monochromatic
#181806 #3D3F10 #6D701C #9DA128 #C8CD39

Accessibility & contrast

On white

5.27
#6D701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6D701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D701C
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D701C#FFFFFF#000000##FFFFFF
##6D701C1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B0C
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#756960
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6d701c;
/* rgb */ color: rgb(109, 112, 28);
/* oklch */ color: oklch(52.6% 0.104 111.5);
Tailwind
colors: {
  custom: {
    50: '#9a985f',
    500: '#6d701c',
    950: '#000000',
  },
}
SCSS
$custom: #6d701c;
$custom-light: #9a985f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d701c",
  "rgb": {
    "r": 109,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 62.143,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52623,
    "c": 0.10367,
    "h": 111.5
  },
  "luminance": 0.14923
}

Semantic roles & 50–950 ramp

primary
#6D701C
secondary
#4743A5
accent
#45E34A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6D701C

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

Preview Lab → · Contrast checker → · Palette generator →

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