#6B701E#6B701E

#6B701E is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.5% C 0.103 H 112.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6B701E
RGBrgb(107, 112, 30)
HSLhsl(64, 58%, 28%)
HSVhsv(64, 73%, 44%)
CMYKcmyk(4.5%, 0%, 73.2%, 56.1%)
CIE-LABlab(45.37, -13.05, 42.53)
CIE-LCHlch(45.37, 44.49, 107.06°)
OKLaboklab(52.46% -0.04 0.0948)
OKLCHoklch(52.46% 0.103 112.9)
XYZxyz(12.0923, 14.8081, 3.4493)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B701E #231E70
analogous
#704C1E #6B701E #42701E
triadic
#6B701E #1E6B70 #701E6B
tetradic
#6B701E #1E704C #231E70 #701E42
square
#6B701E #1E704C #231E70 #701E42
split-complementary
#6B701E #1E4270 #4C1E70
monochromatic
#171806 #3D4011 #6B701E #99A02B #C2CB3D

Accessibility & contrast

On white

5.30
#6B701E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6B701E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B701E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B701E#FFFFFF#000000##FFFFFF
##6B701E1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A10
Deuteranopia (green-blind)
#796C24
Tritanopia (blue-blind)
#726960
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6b701e;
/* rgb */ color: rgb(107, 112, 30);
/* oklch */ color: oklch(52.5% 0.103 112.9);
Tailwind
colors: {
  custom: {
    50: '#989860',
    500: '#6b701e',
    950: '#000000',
  },
}
SCSS
$custom: #6b701e;
$custom-light: #989860;
$custom-dark: #000000;
JSON
{
  "hex": "#6b701e",
  "rgb": {
    "r": 107,
    "g": 112,
    "b": 30
  },
  "hsl": {
    "h": 63.659,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.10285,
    "h": 112.9
  },
  "luminance": 0.14808
}

Semantic roles & 50–950 ramp

primary
#6B701E
secondary
#4B46A4
accent
#47E150
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0D05
muted
#7E7E79

Preview Lab

Preview with #6B701E

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

Preview Lab → · Contrast checker → · Palette generator →

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