#7C7E2E#7C7E2E

#7C7E2E is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.102 H 110.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7C7E2E
RGBrgb(124, 126, 46)
HSLhsl(62, 47%, 34%)
HSVhsv(62, 63%, 49%)
CMYKcmyk(1.6%, 0%, 63.5%, 50.6%)
CIE-LABlab(51.16, -11.87, 41.98)
CIE-LCHlch(51.16, 43.62, 105.79°)
OKLaboklab(57.48% -0.036 0.0958)
OKLCHoklch(57.48% 0.102 110.6)
XYZxyz(16.2666, 19.4045, 5.4728)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7E2E #302E7E
analogous
#7E582E #7C7E2E #547E2E
triadic
#7C7E2E #2E7C7E #7E2E7C
tetradic
#7C7E2E #2E7E58 #302E7E #7E2E54
square
#7C7E2E #2E7E58 #302E7E #7E2E54
split-complementary
#7C7E2E #2E547E #582E7E
monochromatic
#24240D #50511E #7C7E2E #A8AB3E #C3C561

Accessibility & contrast

On white

4.30
#7C7E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#7C7E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7E2E
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7E2E#FFFFFF#000000##000000
##7C7E2E1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887924
Deuteranopia (green-blind)
#887B33
Tritanopia (blue-blind)
#84766D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7c7e2e;
/* rgb */ color: rgb(124, 126, 46);
/* oklch */ color: oklch(57.5% 0.102 110.6);
Tailwind
colors: {
  custom: {
    50: '#a4a36b',
    500: '#7c7e2e',
    950: '#000000',
  },
}
SCSS
$custom: #7c7e2e;
$custom-light: #a4a36b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7e2e",
  "rgb": {
    "r": 124,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 61.5,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57484,
    "c": 0.10233,
    "h": 110.6
  },
  "luminance": 0.19404
}

Semantic roles & 50–950 ramp

primary
#7C7E2E
secondary
#5E5CAC
accent
#52D655
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #7C7E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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