#6B700F#6B700F

#6B700F is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.4% C 0.111 H 112.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6B700F
RGBrgb(107, 112, 15)
HSLhsl(63, 76%, 25%)
HSVhsv(63, 87%, 44%)
CMYKcmyk(4.5%, 0%, 86.6%, 56.1%)
CIE-LABlab(45.29, -13.73, 47.57)
CIE-LCHlch(45.29, 49.51, 106.10°)
OKLaboklab(52.36% -0.0432 0.1026)
OKLCHoklch(52.36% 0.111 112.8)
XYZxyz(11.9442, 14.7489, 2.6695)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B700F #140F70
analogous
#70450F #6B700F #3A700F
triadic
#6B700F #0F6B70 #700F6B
tetradic
#6B700F #0F7045 #140F70 #700F3A
square
#6B700F #0F7045 #140F70 #700F3A
split-complementary
#6B700F #0F3A70 #450F70
monochromatic
#1A1B04 #373A08 #6B700F #9FA616 #D2DC1D

Accessibility & contrast

On white

5.32
#6B700F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6B700F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B700F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B700F#FFFFFF#000000##FFFFFF
##6B700F1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#796C19
Tritanopia (blue-blind)
#73695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6b700f;
/* rgb */ color: rgb(107, 112, 15);
/* oklch */ color: oklch(52.4% 0.111 112.8);
Tailwind
colors: {
  custom: {
    50: '#999859',
    500: '#6b700f',
    950: '#000000',
  },
}
SCSS
$custom: #6b700f;
$custom-light: #999859;
$custom-dark: #000000;
JSON
{
  "hex": "#6b700f",
  "rgb": {
    "r": 107,
    "g": 112,
    "b": 15
  },
  "hsl": {
    "h": 63.093,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.52365,
    "c": 0.11133,
    "h": 112.8
  },
  "luminance": 0.14749
}

Semantic roles & 50–950 ramp

primary
#6B700F
secondary
#3933A8
accent
#35F33F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6B700F

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

Preview Lab → · Contrast checker → · Palette generator →

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