#CFA542#CFA542

#CFA542 is a light, vivid orange. Relative luminance 0.406; OKLCH L 74.2% C 0.125 H 85.6°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#CFA542
RGBrgb(207, 165, 66)
HSLhsl(42, 59%, 54%)
HSVhsv(42, 68%, 81%)
CMYKcmyk(0%, 20.3%, 68.1%, 18.8%)
CIE-LABlab(69.87, 5.08, 55.28)
CIE-LCHlch(69.87, 55.52, 84.75°)
OKLaboklab(74.22% 0.0097 0.1247)
OKLCHoklch(74.22% 0.125 85.6)
XYZxyz(40.1729, 40.5716, 10.8684)
Luminance0.4057 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA542 #426CCF
analogous
#CF5E42 #CFA542 #B2CF42
triadic
#CFA542 #42CFA5 #A542CF
tetradic
#CFA542 #42CF5E #426CCF #CF42B2
square
#CFA542 #42CF5E #426CCF #CF42B2
split-complementary
#CFA542 #42B2CF #5E42CF
monochromatic
#785D1F #A9832B #CFA542 #DBBC73 #E8D3A4

Accessibility & contrast

On white

2.30
#CFA542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#CFA542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA542
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA542#FFFFFF#000000##000000
##CFA5421.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A436
Deuteranopia (green-blind)
#C2AF46
Tritanopia (blue-blind)
#E09790
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cfa542;
/* rgb */ color: rgb(207, 165, 66);
/* oklch */ color: oklch(74.2% 0.125 85.6);
Tailwind
colors: {
  custom: {
    50: '#e2bf7b',
    500: '#cfa542',
    950: '#000000',
  },
}
SCSS
$custom: #cfa542;
$custom-light: #e2bf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa542",
  "rgb": {
    "r": 207,
    "g": 165,
    "b": 66
  },
  "hsl": {
    "h": 42.128,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.74221,
    "c": 0.12507,
    "h": 85.6
  },
  "luminance": 0.40569
}

Semantic roles & 50–950 ramp

primary
#CFA542
secondary
#98AAD5
accent
#74E345
background
#FEFBF7
surface
#FDF6EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CFA542

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

Preview Lab → · Contrast checker → · Palette generator →

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