#6F751C#6F751C

#6F751C is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.0% C 0.109 H 113.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#6F751C
RGBrgb(111, 117, 28)
HSLhsl(64, 61%, 28%)
HSVhsv(64, 76%, 46%)
CMYKcmyk(5.1%, 0%, 76.1%, 54.1%)
CIE-LABlab(47.22, -14.04, 45.22)
CIE-LCHlch(47.22, 47.35, 107.25°)
OKLaboklab(54.02% -0.0432 0.0999)
OKLCHoklch(54.02% 0.109 113.4)
XYZxyz(13.1268, 16.1862, 3.5311)
Luminance0.1619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F751C #221C75
analogous
#754E1C #6F751C #42751C
triadic
#6F751C #1C6F75 #751C6F
tetradic
#6F751C #1C754E #221C75 #751C42
square
#6F751C #1C754E #221C75 #751C42
split-complementary
#6F751C #1C4275 #4E1C75
monochromatic
#171906 #404410 #6F751C #9EA628 #C6D03B

Accessibility & contrast

On white

4.96
#6F751C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#6F751C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F751C
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F751C#FFFFFF#000000##FFFFFF
##6F751C1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0A
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#776E64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6f751c;
/* rgb */ color: rgb(111, 117, 28);
/* oklch */ color: oklch(54.0% 0.109 113.4);
Tailwind
colors: {
  custom: {
    50: '#9b9c5f',
    500: '#6f751c',
    950: '#000000',
  },
}
SCSS
$custom: #6f751c;
$custom-light: #9b9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#6f751c",
  "rgb": {
    "r": 111,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 64.045,
    "s": 61.379,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54017,
    "c": 0.10885,
    "h": 113.4
  },
  "luminance": 0.16186
}

Semantic roles & 50–950 ramp

primary
#6F751C
secondary
#4A44A9
accent
#43E44E
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6F751C

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

Preview Lab → · Contrast checker → · Palette generator →

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