#C7A23E#C7A23E

#C7A23E is a light, vivid orange. Relative luminance 0.383; OKLCH L 72.8% C 0.124 H 88.3°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#C7A23E
RGBrgb(199, 162, 62)
HSLhsl(44, 55%, 51%)
HSVhsv(44, 69%, 78%)
CMYKcmyk(0%, 18.6%, 68.8%, 22%)
CIE-LABlab(68.27, 3.00, 55.08)
CIE-LCHlch(68.27, 55.17, 86.88°)
OKLaboklab(72.76% 0.0037 0.1239)
OKLCHoklch(72.76% 0.124 88.3)
XYZxyz(37.3451, 38.3329, 9.9885)
Luminance0.3833 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7A23E #3E63C7
analogous
#C75D3E #C7A23E #A7C73E
triadic
#C7A23E #3EC7A2 #A23EC7
tetradic
#C7A23E #3EC75D #3E63C7 #C73EA7
square
#C7A23E #3EC75D #3E63C7 #C73EA7
split-complementary
#C7A23E #3EA7C7 #5D3EC7
monochromatic
#6B571F #9B7D2D #C7A23E #D5B96D #E3D09D

Accessibility & contrast

On white

2.42
#C7A23E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#C7A23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7A23E
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7A23E#FFFFFF#000000##000000
##C7A23E1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A131
Deuteranopia (green-blind)
#BDAB43
Tritanopia (blue-blind)
#D7958D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c7a23e;
/* rgb */ color: rgb(199, 162, 62);
/* oklch */ color: oklch(72.8% 0.124 88.3);
Tailwind
colors: {
  custom: {
    50: '#dcbd78',
    500: '#c7a23e',
    950: '#000000',
  },
}
SCSS
$custom: #c7a23e;
$custom-light: #dcbd78;
$custom-dark: #000000;
JSON
{
  "hex": "#c7a23e",
  "rgb": {
    "r": 199,
    "g": 162,
    "b": 62
  },
  "hsl": {
    "h": 43.796,
    "s": 55.02,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72758,
    "c": 0.12391,
    "h": 88.3
  },
  "luminance": 0.38331
}

Semantic roles & 50–950 ramp

primary
#C7A23E
secondary
#92A2CF
accent
#72DE49
background
#FEFBF7
surface
#FCF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #C7A23E

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

Preview Lab → · Contrast checker → · Palette generator →

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