#62671F#62671F

#62671F is a mid, moderate yellow. Relative luminance 0.124; OKLCH L 49.4% C 0.094 H 113.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#62671F
RGBrgb(98, 103, 31)
HSLhsl(64, 54%, 26%)
HSVhsv(64, 70%, 40%)
CMYKcmyk(4.9%, 0%, 69.9%, 59.6%)
CIE-LABlab(41.84, -12.21, 38.29)
CIE-LCHlch(41.84, 40.19, 107.68°)
OKLaboklab(49.44% -0.0369 0.0863)
OKLCHoklch(49.44% 0.094 113.2)
XYZxyz(10.1349, 12.3963, 3.1549)
Luminance0.1240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62671F #241F67
analogous
#67481F #62671F #3E671F
triadic
#62671F #1F6267 #671F62
tetradic
#62671F #1F6748 #241F67 #671F3E
square
#62671F #1F6748 #241F67 #671F3E
split-complementary
#62671F #1F3E67 #481F67
monochromatic
#161807 #353811 #62671F #8F962D #BBC43C

Accessibility & contrast

On white

6.04
#62671F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#62671F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #62671F
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62671F#FFFFFF#000000##FFFFFF
##62671F1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6215
Deuteranopia (green-blind)
#6F6324
Tritanopia (blue-blind)
#696158
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #62671f;
/* rgb */ color: rgb(98, 103, 31);
/* oklch */ color: oklch(49.4% 0.094 113.2);
Tailwind
colors: {
  custom: {
    50: '#91925f',
    500: '#62671f',
    950: '#000000',
  },
}
SCSS
$custom: #62671f;
$custom-light: #91925f;
$custom-dark: #000000;
JSON
{
  "hex": "#62671f",
  "rgb": {
    "r": 98,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 64.167,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49441,
    "c": 0.09388,
    "h": 113.2
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#62671F
secondary
#4C469B
accent
#4BDD55
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C05
muted
#7E7D79

Preview Lab

Preview with #62671F

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

Preview Lab → · Contrast checker → · Palette generator →

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