#7C7245#7C7245

#7C7245 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 55.0% C 0.064 H 97.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7C7245
RGBrgb(124, 114, 69)
HSLhsl(49, 28%, 38%)
HSVhsv(49, 44%, 49%)
CMYKcmyk(0%, 8.1%, 44.4%, 51.4%)
CIE-LABlab(47.94, -3.01, 26.30)
CIE-LCHlch(47.94, 26.48, 96.53°)
OKLaboklab(55.02% -0.008 0.064)
OKLCHoklch(55.02% 0.064 97.2)
XYZxyz(15.4040, 16.7499, 8.0507)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7245 #454F7C
analogous
#7C5645 #7C7245 #6A7C45
triadic
#7C7245 #457C72 #72457C
tetradic
#7C7245 #457C56 #454F7C #7C456A
square
#7C7245 #457C56 #454F7C #7C456A
split-complementary
#7C7245 #456A7C #56457C
monochromatic
#2D2A19 #554E2F #7C7245 #A3965B #B9AF82

Accessibility & contrast

On white

4.83
#7C7245 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7C7245 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7245
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7245#FFFFFF#000000##FFFFFF
##7C72451.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7042
Deuteranopia (green-blind)
#7D7347
Tritanopia (blue-blind)
#846C67
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7c7245;
/* rgb */ color: rgb(124, 114, 69);
/* oklch */ color: oklch(55.0% 0.064 97.2);
Tailwind
colors: {
  custom: {
    50: '#a39a79',
    500: '#7c7245',
    950: '#000000',
  },
}
SCSS
$custom: #7c7245;
$custom-light: #a39a79;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7245",
  "rgb": {
    "r": 124,
    "g": 114,
    "b": 69
  },
  "hsl": {
    "h": 49.091,
    "s": 28.497,
    "l": 37.843
  },
  "oklch": {
    "l": 0.55021,
    "c": 0.06449,
    "h": 97.2
  },
  "luminance": 0.16749
}

Semantic roles & 50–950 ramp

primary
#7C7245
secondary
#7880A5
accent
#75C563
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #7C7245

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

Preview Lab → · Contrast checker → · Palette generator →

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