#7F7723#7F7723

#7F7723 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.0% C 0.103 H 103.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7F7723
RGBrgb(127, 119, 35)
HSLhsl(55, 57%, 32%)
HSVhsv(55, 72%, 50%)
CMYKcmyk(0%, 6.3%, 72.4%, 50.2%)
CIE-LABlab(49.29, -7.34, 44.95)
CIE-LCHlch(49.29, 45.55, 99.27°)
OKLaboklab(56.03% -0.0246 0.1001)
OKLCHoklch(56.03% 0.103 103.8)
XYZxyz(15.6532, 17.8277, 4.2063)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7723 #232B7F
analogous
#7F4923 #7F7723 #597F23
triadic
#7F7723 #237F77 #77237F
tetradic
#7F7723 #237F49 #232B7F #7F2359
square
#7F7723 #237F49 #232B7F #7F2359
split-complementary
#7F7723 #23597F #49237F
monochromatic
#1F1D09 #4F4A16 #7F7723 #AFA430 #CEC34E

Accessibility & contrast

On white

4.60
#7F7723 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7F7723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7723
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7723#FFFFFF#000000##FFFFFF
##7F77231.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827316
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#896F66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f7723;
/* rgb */ color: rgb(127, 119, 35);
/* oklch */ color: oklch(56.0% 0.103 103.8);
Tailwind
colors: {
  custom: {
    50: '#a79e64',
    500: '#7f7723',
    950: '#000000',
  },
}
SCSS
$custom: #7f7723;
$custom-light: #a79e64;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7723",
  "rgb": {
    "r": 127,
    "g": 119,
    "b": 35
  },
  "hsl": {
    "h": 54.783,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5603,
    "c": 0.1031,
    "h": 103.8
  },
  "luminance": 0.17827
}

Semantic roles & 50–950 ramp

primary
#7F7723
secondary
#4C55B1
accent
#55E048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7F7723

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

Preview Lab → · Contrast checker → · Palette generator →

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