#CFB278#CFB278

#CFB278 is a light, moderate orange. Relative luminance 0.465; OKLCH L 77.6% C 0.083 H 84.1°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#CFB278
RGBrgb(207, 178, 120)
HSLhsl(40, 48%, 64%)
HSVhsv(40, 42%, 81%)
CMYKcmyk(0%, 14%, 42%, 18.8%)
CIE-LABlab(73.85, 2.56, 33.49)
CIE-LCHlch(73.85, 33.59, 85.63°)
OKLaboklab(77.55% 0.0086 0.0822)
OKLCHoklch(77.55% 0.083 84.1)
XYZxyz(45.0440, 46.4642, 24.3615)
Luminance0.4646 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB278 #7895CF
analogous
#CF8778 #CFB278 #C1CF78
triadic
#CFB278 #78CFB2 #B278CF
tetradic
#CFB278 #78CF87 #7895CF #CF78C1
square
#CFB278 #78CF87 #7895CF #CF78C1
split-complementary
#CFB278 #78C1CF #8778CF
monochromatic
#977736 #BF984B #CFB278 #DFCCA5 #EFE6D2

Accessibility & contrast

On white

2.04
#CFB278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#CFB278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB278
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB278#FFFFFF#000000##000000
##CFB2781.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B174
Deuteranopia (green-blind)
#C7B97A
Tritanopia (blue-blind)
#DCA8A3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb278;
/* rgb */ color: rgb(207, 178, 120);
/* oklch */ color: oklch(77.6% 0.083 84.1);
Tailwind
colors: {
  custom: {
    50: '#dfc89f',
    500: '#cfb278',
    950: '#000000',
  },
}
SCSS
$custom: #cfb278;
$custom-light: #dfc89f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb278",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 120
  },
  "hsl": {
    "h": 40,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.77554,
    "c": 0.08267,
    "h": 84.1
  },
  "luminance": 0.46462
}

Semantic roles & 50–950 ramp

primary
#CFB278
secondary
#C2CCE1
accent
#5BBB2B
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E

Preview Lab

Preview with #CFB278

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

Preview Lab → · Contrast checker → · Palette generator →

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