#C79842#C79842

#C79842 is a light, moderate orange. Relative luminance 0.350; OKLCH L 70.8% C 0.117 H 79.9°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#C79842
RGBrgb(199, 152, 66)
HSLhsl(39, 54%, 52%)
HSVhsv(39, 67%, 78%)
CMYKcmyk(0%, 23.6%, 66.8%, 22%)
CIE-LABlab(65.74, 8.63, 50.63)
CIE-LCHlch(65.74, 51.36, 80.32°)
OKLaboklab(70.79% 0.0205 0.1151)
OKLCHoklch(70.79% 0.117 79.9)
XYZxyz(35.7669, 34.9945, 10.0240)
Luminance0.3499 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C79842 #4271C7
analogous
#C75642 #C79842 #B4C742
triadic
#C79842 #42C798 #9842C7
tetradic
#C79842 #42C756 #4271C7 #C742B4
square
#C79842 #42C756 #4271C7 #C742B4
split-complementary
#C79842 #42B4C7 #5642C7
monochromatic
#6E5321 #9D762F #C79842 #D5B271 #E3CBA0

Accessibility & contrast

On white

2.63
#C79842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#C79842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C79842
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C79842#FFFFFF#000000##000000
##C798421.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9938
Deuteranopia (green-blind)
#B6A445
Tritanopia (blue-blind)
#D88A85
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c79842;
/* rgb */ color: rgb(199, 152, 66);
/* oklch */ color: oklch(70.8% 0.117 79.9);
Tailwind
colors: {
  custom: {
    50: '#dcb67a',
    500: '#c79842',
    950: '#000000',
  },
}
SCSS
$custom: #c79842;
$custom-light: #dcb67a;
$custom-dark: #000000;
JSON
{
  "hex": "#c79842",
  "rgb": {
    "r": 199,
    "g": 152,
    "b": 66
  },
  "hsl": {
    "h": 38.797,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.70788,
    "c": 0.11689,
    "h": 79.9
  },
  "luminance": 0.34992
}

Semantic roles & 50–950 ramp

primary
#C79842
secondary
#95AAD0
accent
#7EDE4A
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161109
muted
#84807B

Preview Lab

Preview with #C79842

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

Preview Lab → · Contrast checker → · Palette generator →

#C79842 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva