#CFA340#CFA340

#CFA340 is a light, vivid orange. Relative luminance 0.398; OKLCH L 73.8% C 0.126 H 84.4°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#CFA340
RGBrgb(207, 163, 64)
HSLhsl(42, 60%, 53%)
HSVhsv(42, 69%, 81%)
CMYKcmyk(0%, 21.3%, 69.1%, 18.8%)
CIE-LABlab(69.35, 6.05, 55.60)
CIE-LCHlch(69.35, 55.93, 83.79°)
OKLaboklab(73.8% 0.0122 0.125)
OKLCHoklch(73.8% 0.126 84.4)
XYZxyz(39.7571, 39.8326, 10.4440)
Luminance0.3983 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA340 #406CCF
analogous
#CF5B40 #CFA340 #B4CF40
triadic
#CFA340 #40CFA3 #A340CF
tetradic
#CFA340 #40CF5B #406CCF #CF40B4
square
#CFA340 #40CF5B #406CCF #CF40B4
split-complementary
#CFA340 #40B4CF #5B40CF
monochromatic
#775B1E #A8812A #CFA340 #DBBB71 #E8D2A2

Accessibility & contrast

On white

2.34
#CFA340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#CFA340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA340
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA340#FFFFFF#000000##000000
##CFA3401.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A334
Deuteranopia (green-blind)
#C1AE44
Tritanopia (blue-blind)
#E0958E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cfa340;
/* rgb */ color: rgb(207, 163, 64);
/* oklch */ color: oklch(73.8% 0.126 84.4);
Tailwind
colors: {
  custom: {
    50: '#e2be7a',
    500: '#cfa340',
    950: '#000000',
  },
}
SCSS
$custom: #cfa340;
$custom-light: #e2be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa340",
  "rgb": {
    "r": 207,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 41.538,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.73803,
    "c": 0.12562,
    "h": 84.4
  },
  "luminance": 0.3983
}

Semantic roles & 50–950 ramp

primary
#CFA340
secondary
#97AAD4
accent
#75E345
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CFA340

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

Preview Lab → · Contrast checker → · Palette generator →

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