#CFA851#CFA851

#CFA851 is a light, moderate orange. Relative luminance 0.419; OKLCH L 75.0% C 0.115 H 85.2°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#CFA851
RGBrgb(207, 168, 81)
HSLhsl(41, 57%, 56%)
HSVhsv(41, 61%, 81%)
CMYKcmyk(0%, 18.8%, 60.9%, 18.8%)
CIE-LABlab(70.78, 4.42, 49.42)
CIE-LCHlch(70.78, 49.62, 84.89°)
OKLaboklab(74.98% 0.0097 0.1144)
OKLCHoklch(74.98% 0.115 85.2)
XYZxyz(41.2220, 41.8672, 13.6929)
Luminance0.4187 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA851 #5178CF
analogous
#CF6951 #CFA851 #B7CF51
triadic
#CFA851 #51CFA8 #A851CF
tetradic
#CFA851 #51CF69 #5178CF #CF51B7
square
#CFA851 #51CF69 #5178CF #CF51B7
split-complementary
#CFA851 #51B7CF #6951CF
monochromatic
#826524 #B28A31 #CFA851 #DCC081 #E9D8B1

Accessibility & contrast

On white

2.24
#CFA851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#CFA851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA851
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA851#FFFFFF#000000##000000
##CFA8511.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA748
Deuteranopia (green-blind)
#C3B154
Tritanopia (blue-blind)
#DF9B95
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cfa851;
/* rgb */ color: rgb(207, 168, 81);
/* oklch */ color: oklch(75.0% 0.115 85.2);
Tailwind
colors: {
  custom: {
    50: '#e1c185',
    500: '#cfa851',
    950: '#000000',
  },
}
SCSS
$custom: #cfa851;
$custom-light: #e1c185;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa851",
  "rgb": {
    "r": 207,
    "g": 168,
    "b": 81
  },
  "hsl": {
    "h": 41.429,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.74977,
    "c": 0.11481,
    "h": 85.2
  },
  "luminance": 0.41865
}

Semantic roles & 50–950 ramp

primary
#CFA851
secondary
#A4B4D8
accent
#77E048
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CFA851

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

Preview Lab → · Contrast checker → · Palette generator →

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