#7F6618#7F6618

#7F6618 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 52.1% C 0.097 H 89.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7F6618
RGBrgb(127, 102, 24)
HSLhsl(45, 68%, 30%)
HSVhsv(45, 81%, 50%)
CMYKcmyk(0%, 19.7%, 81.1%, 50.2%)
CIE-LABlab(44.35, 1.84, 44.59)
CIE-LCHlch(44.35, 44.62, 87.64°)
OKLaboklab(52.1% 0.0002 0.097)
OKLCHoklch(52.1% 0.097 89.9)
XYZxyz(13.6695, 14.0816, 2.8620)
Luminance0.1408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6618 #18317F
analogous
#7F3318 #7F6618 #657F18
triadic
#7F6618 #187F66 #66187F
tetradic
#7F6618 #187F33 #18317F #7F1865
square
#7F6618 #187F33 #18317F #7F1865
split-complementary
#7F6618 #18657F #33187F
monochromatic
#1A1505 #4C3D0E #7F6618 #B28F22 #D9B238

Accessibility & contrast

On white

5.50
#7F6618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7F6618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6618
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6618#FFFFFF#000000##FFFFFF
##7F66181.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736508
Deuteranopia (green-blind)
#796C1D
Tritanopia (blue-blind)
#8A5D57
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7f6618;
/* rgb */ color: rgb(127, 102, 24);
/* oklch */ color: oklch(52.1% 0.097 89.9);
Tailwind
colors: {
  custom: {
    50: '#a8915c',
    500: '#7f6618',
    950: '#000000',
  },
}
SCSS
$custom: #7f6618;
$custom-light: #a8915c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6618",
  "rgb": {
    "r": 127,
    "g": 102,
    "b": 24
  },
  "hsl": {
    "h": 45.437,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52097,
    "c": 0.09704,
    "h": 89.9
  },
  "luminance": 0.14081
}

Semantic roles & 50–950 ramp

primary
#7F6618
secondary
#3F5CB3
accent
#67EB3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6618

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

Preview Lab → · Contrast checker → · Palette generator →

#7F6618 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva