#CFA64F#CFA64F

#CFA64F is a light, moderate orange. Relative luminance 0.411; OKLCH L 74.6% C 0.116 H 84.0°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#CFA64F
RGBrgb(207, 166, 79)
HSLhsl(41, 57%, 56%)
HSVhsv(41, 62%, 81%)
CMYKcmyk(0%, 19.8%, 61.8%, 18.8%)
CIE-LABlab(70.25, 5.36, 49.77)
CIE-LCHlch(70.25, 50.05, 83.86°)
OKLaboklab(74.55% 0.0122 0.1149)
OKLCHoklch(74.55% 0.116 84)
XYZxyz(40.7817, 41.1049, 13.1816)
Luminance0.4110 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA64F #4F78CF
analogous
#CF664F #CFA64F #B8CF4F
triadic
#CFA64F #4FCFA6 #A64FCF
tetradic
#CFA64F #4FCF66 #4F78CF #CF4FB8
square
#CFA64F #4FCF66 #4F78CF #CF4FB8
split-complementary
#CFA64F #4FB8CF #664FCF
monochromatic
#816323 #B18730 #CFA64F #DCBE7F #E9D7AF

Accessibility & contrast

On white

2.28
#CFA64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#CFA64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA64F
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA64F#FFFFFF#000000##000000
##CFA64F1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A646
Deuteranopia (green-blind)
#C2B052
Tritanopia (blue-blind)
#DF9993
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cfa64f;
/* rgb */ color: rgb(207, 166, 79);
/* oklch */ color: oklch(74.6% 0.116 84.0);
Tailwind
colors: {
  custom: {
    50: '#e1c083',
    500: '#cfa64f',
    950: '#000000',
  },
}
SCSS
$custom: #cfa64f;
$custom-light: #e1c083;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa64f",
  "rgb": {
    "r": 207,
    "g": 166,
    "b": 79
  },
  "hsl": {
    "h": 40.781,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.74554,
    "c": 0.11553,
    "h": 84
  },
  "luminance": 0.41102
}

Semantic roles & 50–950 ramp

primary
#CFA64F
secondary
#A2B3D7
accent
#78E047
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CFA64F

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

Preview Lab → · Contrast checker → · Palette generator →

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