#68700F#68700F

#68700F is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.1% C 0.112 H 114.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#68700F
RGBrgb(104, 112, 15)
HSLhsl(65, 76%, 25%)
HSVhsv(65, 87%, 44%)
CMYKcmyk(7.1%, 0%, 86.6%, 56.1%)
CIE-LABlab(45.03, -15.14, 47.25)
CIE-LCHlch(45.03, 49.62, 107.76°)
OKLaboklab(52.1% -0.0469 0.1021)
OKLCHoklch(52.1% 0.112 114.7)
XYZxyz(11.5897, 14.5661, 2.6529)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68700F #170F70
analogous
#70470F #68700F #38700F
triadic
#68700F #0F6870 #700F68
tetradic
#68700F #0F7047 #170F70 #700F38
square
#68700F #0F7047 #170F70 #700F38
split-complementary
#68700F #0F3870 #470F70
monochromatic
#191B04 #363A08 #68700F #9AA616 #CCDC1D

Accessibility & contrast

On white

5.37
#68700F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#68700F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #68700F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68700F#FFFFFF#000000##FFFFFF
##68700F1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#786B19
Tritanopia (blue-blind)
#70695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #68700f;
/* rgb */ color: rgb(104, 112, 15);
/* oklch */ color: oklch(52.1% 0.112 114.7);
Tailwind
colors: {
  custom: {
    50: '#969859',
    500: '#68700f',
    950: '#000000',
  },
}
SCSS
$custom: #68700f;
$custom-light: #969859;
$custom-dark: #000000;
JSON
{
  "hex": "#68700f",
  "rgb": {
    "r": 104,
    "g": 112,
    "b": 15
  },
  "hsl": {
    "h": 64.948,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.52098,
    "c": 0.11232,
    "h": 114.7
  },
  "luminance": 0.14566
}

Semantic roles & 50–950 ramp

primary
#68700F
secondary
#3D33A8
accent
#35F345
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #68700F

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

Preview Lab → · Contrast checker → · Palette generator →

#68700F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva