#CFA151#CFA151

#CFA151 is a light, moderate orange. Relative luminance 0.393; OKLCH L 73.6% C 0.112 H 79.4°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#CFA151
RGBrgb(207, 161, 81)
HSLhsl(38, 57%, 56%)
HSVhsv(38, 61%, 81%)
CMYKcmyk(0%, 22.2%, 60.9%, 18.8%)
CIE-LABlab(69.01, 8.18, 47.39)
CIE-LCHlch(69.01, 48.09, 80.21°)
OKLaboklab(73.58% 0.0207 0.11)
OKLCHoklch(73.58% 0.112 79.4)
XYZxyz(39.9644, 39.3519, 13.2737)
Luminance0.3935 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA151 #517FCF
analogous
#CF6251 #CFA151 #BECF51
triadic
#CFA151 #51CFA1 #A151CF
tetradic
#CFA151 #51CF62 #517FCF #CF51BE
square
#CFA151 #51CF62 #517FCF #CF51BE
split-complementary
#CFA151 #51BECF #6251CF
monochromatic
#825F24 #B28331 #CFA151 #DCBB81 #E9D5B1

Accessibility & contrast

On white

2.37
#CFA151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#CFA151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA151
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA151#FFFFFF#000000##000000
##CFA1511.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A249
Deuteranopia (green-blind)
#BEAD54
Tritanopia (blue-blind)
#DF948F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cfa151;
/* rgb */ color: rgb(207, 161, 81);
/* oklch */ color: oklch(73.6% 0.112 79.4);
Tailwind
colors: {
  custom: {
    50: '#e1bc84',
    500: '#cfa151',
    950: '#000000',
  },
}
SCSS
$custom: #cfa151;
$custom-light: #e1bc84;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa151",
  "rgb": {
    "r": 207,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 38.095,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.73584,
    "c": 0.11196,
    "h": 79.4
  },
  "luminance": 0.39349
}

Semantic roles & 50–950 ramp

primary
#CFA151
secondary
#A4B7D8
accent
#7FE048
background
#FEFBF8
surface
#FCF6EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CFA151

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

Preview Lab → · Contrast checker → · Palette generator →

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