#CFAB4F#CFAB4F

#CFAB4F is a light, moderate orange. Relative luminance 0.430; OKLCH L 75.6% C 0.118 H 87.9°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#CFAB4F
RGBrgb(207, 171, 79)
HSLhsl(43, 57%, 56%)
HSVhsv(43, 62%, 81%)
CMYKcmyk(0%, 17.4%, 61.8%, 18.8%)
CIE-LABlab(71.53, 2.69, 51.20)
CIE-LCHlch(71.53, 51.27, 87.00°)
OKLaboklab(75.56% 0.0044 0.118)
OKLCHoklch(75.56% 0.118 87.9)
XYZxyz(41.7084, 42.9581, 13.4905)
Luminance0.4296 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAB4F #4F73CF
analogous
#CF6B4F #CFAB4F #B3CF4F
triadic
#CFAB4F #4FCFAB #AB4FCF
tetradic
#CFAB4F #4FCF6B #4F73CF #CF4FB3
square
#CFAB4F #4FCF6B #4F73CF #CF4FB3
split-complementary
#CFAB4F #4FB3CF #6B4FCF
monochromatic
#816623 #B18C30 #CFAB4F #DCC27F #E9D9AF

Accessibility & contrast

On white

2.19
#CFAB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#CFAB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAB4F
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAB4F#FFFFFF#000000##000000
##CFAB4F1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAA45
Deuteranopia (green-blind)
#C6B353
Tritanopia (blue-blind)
#DF9E97
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cfab4f;
/* rgb */ color: rgb(207, 171, 79);
/* oklch */ color: oklch(75.6% 0.118 87.9);
Tailwind
colors: {
  custom: {
    50: '#e1c384',
    500: '#cfab4f',
    950: '#000000',
  },
}
SCSS
$custom: #cfab4f;
$custom-light: #e1c384;
$custom-dark: #000000;
JSON
{
  "hex": "#cfab4f",
  "rgb": {
    "r": 207,
    "g": 171,
    "b": 79
  },
  "hsl": {
    "h": 43.125,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.75559,
    "c": 0.11805,
    "h": 87.9
  },
  "luminance": 0.42956
}

Semantic roles & 50–950 ramp

primary
#CFAB4F
secondary
#A2B1D7
accent
#72E047
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CFAB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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