#7C852F#7C852F

#7C852F is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.2% C 0.110 H 114.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7C852F
RGBrgb(124, 133, 47)
HSLhsl(66, 48%, 35%)
HSVhsv(66, 65%, 52%)
CMYKcmyk(6.8%, 0%, 64.7%, 47.8%)
CIE-LABlab(53.24, -15.56, 43.75)
CIE-LCHlch(53.24, 46.44, 109.58°)
OKLaboklab(59.15% -0.0462 0.0997)
OKLCHoklch(59.15% 0.11 114.9)
XYZxyz(17.2132, 21.2657, 5.8867)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C852F #382F85
analogous
#85632F #7C852F #51852F
triadic
#7C852F #2F7C85 #852F7C
tetradic
#7C852F #2F8563 #382F85 #852F51
square
#7C852F #2F8563 #382F85 #852F51
split-complementary
#7C852F #2F5185 #632F85
monochromatic
#282B0F #52581F #7C852F #A6B23F #BEC966

Accessibility & contrast

On white

4.00
#7C852F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7C852F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C852F
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C852F#FFFFFF#000000##000000
##7C852F1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E24
Deuteranopia (green-blind)
#8E8035
Tritanopia (blue-blind)
#847D73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c852f;
/* rgb */ color: rgb(124, 133, 47);
/* oklch */ color: oklch(59.2% 0.110 114.9);
Tailwind
colors: {
  custom: {
    50: '#a4a86c',
    500: '#7c852f',
    950: '#000000',
  },
}
SCSS
$custom: #7c852f;
$custom-light: #a4a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c852f",
  "rgb": {
    "r": 124,
    "g": 133,
    "b": 47
  },
  "hsl": {
    "h": 66.279,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59153,
    "c": 0.1099,
    "h": 114.9
  },
  "luminance": 0.21265
}

Semantic roles & 50–950 ramp

primary
#7C852F
secondary
#6860B0
accent
#50D75F
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #7C852F

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

Preview Lab → · Contrast checker → · Palette generator →

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