#62700F#62700F

#62700F is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.6% C 0.115 H 118.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#62700F
RGBrgb(98, 112, 15)
HSLhsl(69, 76%, 25%)
HSVhsv(69, 87%, 44%)
CMYKcmyk(12.5%, 0%, 86.6%, 56.1%)
CIE-LABlab(44.55, -17.92, 46.64)
CIE-LCHlch(44.55, 49.96, 111.02°)
OKLaboklab(51.58% -0.0543 0.101)
OKLCHoklch(51.58% 0.115 118.2)
XYZxyz(10.9177, 14.2196, 2.6214)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62700F #1D0F70
analogous
#704E0F #62700F #31700F
triadic
#62700F #0F6270 #700F62
tetradic
#62700F #0F704E #1D0F70 #700F31
square
#62700F #0F704E #1D0F70 #700F31
split-complementary
#62700F #0F3170 #4E0F70
monochromatic
#181B04 #333A08 #62700F #91A616 #C0DC1D

Accessibility & contrast

On white

5.46
#62700F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#62700F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #62700F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62700F#FFFFFF#000000##FFFFFF
##62700F1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#776A1A
Tritanopia (blue-blind)
#69695F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #62700f;
/* rgb */ color: rgb(98, 112, 15);
/* oklch */ color: oklch(51.6% 0.115 118.2);
Tailwind
colors: {
  custom: {
    50: '#929959',
    500: '#62700f',
    950: '#000000',
  },
}
SCSS
$custom: #62700f;
$custom-light: #929959;
$custom-dark: #000000;
JSON
{
  "hex": "#62700f",
  "rgb": {
    "r": 98,
    "g": 112,
    "b": 15
  },
  "hsl": {
    "h": 68.66,
    "s": 76.378,
    "l": 24.902
  },
  "oklch": {
    "l": 0.51584,
    "c": 0.11464,
    "h": 118.2
  },
  "luminance": 0.1422
}

Semantic roles & 50–950 ramp

primary
#62700F
secondary
#4433A8
accent
#35F350
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #62700F

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

Preview Lab → · Contrast checker → · Palette generator →

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