#C8A12F#C8A12F

#C8A12F is a light, vivid orange. Relative luminance 0.380; OKLCH L 72.5% C 0.133 H 88.9°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#C8A12F
RGBrgb(200, 161, 47)
HSLhsl(45, 62%, 48%)
HSVhsv(45, 77%, 78%)
CMYKcmyk(0%, 19.5%, 76.5%, 21.6%)
CIE-LABlab(68.00, 3.26, 60.84)
CIE-LCHlch(68.00, 60.92, 86.93°)
OKLaboklab(72.54% 0.0026 0.1332)
OKLCHoklch(72.54% 0.133 88.9)
XYZxyz(37.0796, 37.9768, 8.0660)
Luminance0.3797 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A12F #2F56C8
analogous
#C8542F #C8A12F #A2C82F
triadic
#C8A12F #2FC8A1 #A12FC8
tetradic
#C8A12F #2FC854 #2F56C8 #C82FA2
square
#C8A12F #2FC854 #2F56C8 #C82FA2
split-complementary
#C8A12F #2FA2C8 #542FC8
monochromatic
#655118 #967923 #C8A12F #D9B95C #E4CE8D

Accessibility & contrast

On white

2.44
#C8A12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#C8A12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A12F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A12F#FFFFFF#000000##000000
##C8A12F1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01A
Deuteranopia (green-blind)
#BEAA35
Tritanopia (blue-blind)
#D9938B
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c8a12f;
/* rgb */ color: rgb(200, 161, 47);
/* oklch */ color: oklch(72.5% 0.133 88.9);
Tailwind
colors: {
  custom: {
    50: '#ddbc70',
    500: '#c8a12f',
    950: '#000000',
  },
}
SCSS
$custom: #c8a12f;
$custom-light: #ddbc70;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a12f",
  "rgb": {
    "r": 200,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 44.706,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72542,
    "c": 0.13318,
    "h": 88.9
  },
  "luminance": 0.37974
}

Semantic roles & 50–950 ramp

primary
#C8A12F
secondary
#8497CF
accent
#6CE543
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161108
muted
#84807B

Preview Lab

Preview with #C8A12F

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

Preview Lab → · Contrast checker → · Palette generator →

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