#CFA042#CFA042

#CFA042 is a light, vivid orange. Relative luminance 0.388; OKLCH L 73.2% C 0.123 H 81.8°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#CFA042
RGBrgb(207, 160, 66)
HSLhsl(40, 59%, 54%)
HSVhsv(40, 68%, 81%)
CMYKcmyk(0%, 22.7%, 68.1%, 18.8%)
CIE-LABlab(68.61, 7.77, 53.95)
CIE-LCHlch(68.61, 54.50, 81.81°)
OKLaboklab(73.23% 0.0175 0.1219)
OKLCHoklch(73.23% 0.123 81.8)
XYZxyz(39.2886, 38.8031, 10.5736)
Luminance0.3880 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA042 #4271CF
analogous
#CF5942 #CFA042 #B7CF42
triadic
#CFA042 #42CFA0 #A042CF
tetradic
#CFA042 #42CF59 #4271CF #CF42B7
square
#CFA042 #42CF59 #4271CF #CF42B7
split-complementary
#CFA042 #42B7CF #5942CF
monochromatic
#785A1F #A97F2B #CFA042 #DBB973 #E8D1A4

Accessibility & contrast

On white

2.40
#CFA042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#CFA042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA042
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA042#FFFFFF#000000##000000
##CFA0421.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A037
Deuteranopia (green-blind)
#BFAC46
Tritanopia (blue-blind)
#E0928C
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cfa042;
/* rgb */ color: rgb(207, 160, 66);
/* oklch */ color: oklch(73.2% 0.123 81.8);
Tailwind
colors: {
  custom: {
    50: '#e2bb7b',
    500: '#cfa042',
    950: '#000000',
  },
}
SCSS
$custom: #cfa042;
$custom-light: #e2bb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa042",
  "rgb": {
    "r": 207,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 40,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.73226,
    "c": 0.1231,
    "h": 81.8
  },
  "luminance": 0.388
}

Semantic roles & 50–950 ramp

primary
#CFA042
secondary
#98ACD5
accent
#7AE345
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#16110A
muted
#84807C

Preview Lab

Preview with #CFA042

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

Preview Lab → · Contrast checker → · Palette generator →

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