#7F7618#7F7618

#7F7618 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.109 H 103.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7F7618
RGBrgb(127, 118, 24)
HSLhsl(55, 68%, 30%)
HSVhsv(55, 81%, 50%)
CMYKcmyk(0%, 7.1%, 81.1%, 50.2%)
CIE-LABlab(48.93, -7.30, 48.73)
CIE-LCHlch(48.93, 49.28, 98.52°)
OKLaboklab(55.72% -0.0256 0.1059)
OKLCHoklch(55.72% 0.109 103.6)
XYZxyz(15.3964, 17.5355, 3.4377)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7618 #18217F
analogous
#7F4218 #7F7618 #557F18
triadic
#7F7618 #187F76 #76187F
tetradic
#7F7618 #187F42 #18217F #7F1855
square
#7F7618 #187F42 #18217F #7F1855
split-complementary
#7F7618 #18557F #42187F
monochromatic
#1A1805 #4C460E #7F7618 #B2A622 #D9CB38

Accessibility & contrast

On white

4.66
#7F7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7F7618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7618
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7618#FFFFFF#000000##FFFFFF
##7F76181.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#847620
Tritanopia (blue-blind)
#896D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f7618;
/* rgb */ color: rgb(127, 118, 24);
/* oklch */ color: oklch(55.7% 0.109 103.6);
Tailwind
colors: {
  custom: {
    50: '#a89d5e',
    500: '#7f7618',
    950: '#000000',
  },
}
SCSS
$custom: #7f7618;
$custom-light: #a89d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7618",
  "rgb": {
    "r": 127,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 54.757,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55723,
    "c": 0.109,
    "h": 103.6
  },
  "luminance": 0.17535
}

Semantic roles & 50–950 ramp

primary
#7F7618
secondary
#3F4AB3
accent
#4CEB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F7618

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

Preview Lab → · Contrast checker → · Palette generator →

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