#C7A338#C7A338

#C7A338 is a light, vivid orange. Relative luminance 0.386; OKLCH L 72.9% C 0.129 H 89.8°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#C7A338
RGBrgb(199, 163, 56)
HSLhsl(45, 56%, 50%)
HSVhsv(45, 72%, 78%)
CMYKcmyk(0%, 18.1%, 71.9%, 22%)
CIE-LABlab(68.48, 2.15, 57.80)
CIE-LCHlch(68.48, 57.84, 87.87°)
OKLaboklab(72.91% 0.0005 0.1285)
OKLCHoklch(72.91% 0.129 89.8)
XYZxyz(37.3663, 38.6243, 9.2277)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A338 #385CC7
analogous
#C75C38 #C7A338 #A3C738
triadic
#C7A338 #38C7A3 #A338C7
tetradic
#C7A338 #38C75C #385CC7 #C738A3
square
#C7A338 #38C75C #385CC7 #C738A3
split-complementary
#C7A338 #38A3C7 #5C38C7
monochromatic
#67551D #977C2B #C7A338 #D4B968 #E2CF98

Accessibility & contrast

On white

2.41
#C7A338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#C7A338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A338
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A338#FFFFFF#000000##000000
##C7A3381.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A129
Deuteranopia (green-blind)
#BEAB3D
Tritanopia (blue-blind)
#D7958D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c7a338;
/* rgb */ color: rgb(199, 163, 56);
/* oklch */ color: oklch(72.9% 0.129 89.8);
Tailwind
colors: {
  custom: {
    50: '#dcbd75',
    500: '#c7a338',
    950: '#000000',
  },
}
SCSS
$custom: #c7a338;
$custom-light: #dcbd75;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a338",
  "rgb": {
    "r": 199,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 44.895,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.72912,
    "c": 0.12853,
    "h": 89.8
  },
  "luminance": 0.38622
}

Semantic roles & 50–950 ramp

primary
#C7A338
secondary
#8D9DCD
accent
#6EDF48
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #C7A338

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

Preview Lab → · Contrast checker → · Palette generator →

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