#CFA17C#CFA17C

#CFA17C is a light, moderate orange. Relative luminance 0.402; OKLCH L 74.3% C 0.074 H 60.1°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#CFA17C
RGBrgb(207, 161, 124)
HSLhsl(27, 46%, 65%)
HSVhsv(27, 40%, 81%)
CMYKcmyk(0%, 22.2%, 40.1%, 18.8%)
CIE-LABlab(69.62, 12.13, 25.80)
CIE-LCHlch(69.62, 28.51, 64.81°)
OKLaboklab(74.27% 0.037 0.0644)
OKLCHoklch(74.27% 0.074 60.1)
XYZxyz(42.1165, 40.2127, 24.6083)
Luminance0.4021 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA17C #7CAACF
analogous
#CF7C80 #CFA17C #CFCB7C
triadic
#CFA17C #7CCFA1 #A17CCF
tetradic
#CFA17C #80CF7C #7CAACF #CB7CCF
square
#CFA17C #80CF7C #7CAACF #CB7CCF
split-complementary
#CFA17C #7CCFCB #7C80CF
monochromatic
#996338 #BF814F #CFA17C #DFC1A9 #F0E1D6

Accessibility & contrast

On white

2.32
#CFA17C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#CFA17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA17C
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA17C#FFFFFF#000000##000000
##CFA17C1.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA479
Deuteranopia (green-blind)
#BAAE7C
Tritanopia (blue-blind)
#DD9897
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cfa17c;
/* rgb */ color: rgb(207, 161, 124);
/* oklch */ color: oklch(74.3% 0.074 60.1);
Tailwind
colors: {
  custom: {
    50: '#dfbca2',
    500: '#cfa17c',
    950: '#000000',
  },
}
SCSS
$custom: #cfa17c;
$custom-light: #dfbca2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa17c",
  "rgb": {
    "r": 207,
    "g": 161,
    "b": 124
  },
  "hsl": {
    "h": 26.747,
    "s": 46.369,
    "l": 64.902
  },
  "oklch": {
    "l": 0.74265,
    "c": 0.0743,
    "h": 60.1
  },
  "luminance": 0.4021
}

Semantic roles & 50–950 ramp

primary
#CFA17C
secondary
#C5D5E2
accent
#7ABA2C
background
#FDFBFA
surface
#FBF6F3
border
#D4D0CD
text
#15120F
muted
#83817F

Preview Lab

Preview with #CFA17C

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

Preview Lab → · Contrast checker → · Palette generator →

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