#CFA842#CFA842

#CFA842 is a light, vivid orange. Relative luminance 0.417; OKLCH L 74.8% C 0.127 H 87.7°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#CFA842
RGBrgb(207, 168, 66)
HSLhsl(43, 59%, 54%)
HSVhsv(43, 68%, 81%)
CMYKcmyk(0%, 18.8%, 68.1%, 18.8%)
CIE-LABlab(70.64, 3.48, 56.09)
CIE-LCHlch(70.64, 56.20, 86.45°)
OKLaboklab(74.82% 0.0051 0.1264)
OKLCHoklch(74.82% 0.127 87.7)
XYZxyz(40.7204, 41.6665, 11.0509)
Luminance0.4166 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA842 #4269CF
analogous
#CF6142 #CFA842 #B0CF42
triadic
#CFA842 #42CFA8 #A842CF
tetradic
#CFA842 #42CF61 #4269CF #CF42B0
square
#CFA842 #42CF61 #4269CF #CF42B0
split-complementary
#CFA842 #42B0CF #6142CF
monochromatic
#785F1F #A9862B #CFA842 #DBBE73 #E8D5A4

Accessibility & contrast

On white

2.25
#CFA842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#CFA842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA842
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA842#FFFFFF#000000##000000
##CFA8421.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA735
Deuteranopia (green-blind)
#C4B147
Tritanopia (blue-blind)
#E09A93
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cfa842;
/* rgb */ color: rgb(207, 168, 66);
/* oklch */ color: oklch(74.8% 0.127 87.7);
Tailwind
colors: {
  custom: {
    50: '#e1c17b',
    500: '#cfa842',
    950: '#000000',
  },
}
SCSS
$custom: #cfa842;
$custom-light: #e1c17b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa842",
  "rgb": {
    "r": 207,
    "g": 168,
    "b": 66
  },
  "hsl": {
    "h": 43.404,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.74823,
    "c": 0.1265,
    "h": 87.7
  },
  "luminance": 0.41664
}

Semantic roles & 50–950 ramp

primary
#CFA842
secondary
#98A9D5
accent
#71E345
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CFA842

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

Preview Lab → · Contrast checker → · Palette generator →

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