#7C7C3E#7C7C3E

#7C7C3E is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.2% C 0.084 H 108.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7C7C3E
RGBrgb(124, 124, 62)
HSLhsl(60, 33%, 36%)
HSVhsv(60, 50%, 49%)
CMYKcmyk(0%, 0%, 50%, 51.4%)
CIE-LABlab(50.74, -9.39, 33.57)
CIE-LCHlch(50.74, 34.86, 105.63°)
OKLaboklab(57.21% -0.0271 0.0797)
OKLCHoklch(57.21% 0.084 108.8)
XYZxyz(16.3897, 19.0486, 7.3699)
Luminance0.1905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7C3E #3E3E7C
analogous
#7C5D3E #7C7C3E #5D7C3E
triadic
#7C7C3E #3E7C7C #7C3E7C
tetradic
#7C7C3E #3E7C5D #3E3E7C #7C3E5D
square
#7C7C3E #3E7C5D #3E3E7C #7C3E5D
split-complementary
#7C7C3E #3E5D7C #5D3E7C
monochromatic
#2A2A15 #53532A #7C7C3E #A5A552 #BCBC79

Accessibility & contrast

On white

4.37
#7C7C3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7C7C3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7C3E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7C3E#FFFFFF#000000##000000
##7C7C3E1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#857838
Deuteranopia (green-blind)
#867A41
Tritanopia (blue-blind)
#84756E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c7c3e;
/* rgb */ color: rgb(124, 124, 62);
/* oklch */ color: oklch(57.2% 0.084 108.8);
Tailwind
colors: {
  custom: {
    50: '#a3a175',
    500: '#7c7c3e',
    950: '#000000',
  },
}
SCSS
$custom: #7c7c3e;
$custom-light: #a3a175;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7c3e",
  "rgb": {
    "r": 124,
    "g": 124,
    "b": 62
  },
  "hsl": {
    "h": 60,
    "s": 33.333,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57211,
    "c": 0.08414,
    "h": 108.8
  },
  "luminance": 0.19048
}

Semantic roles & 50–950 ramp

primary
#7C7C3E
secondary
#7070A6
accent
#5EC95E
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0F08
muted
#7F7E7B

Preview Lab

Preview with #7C7C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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