#CFBC7F#CFBC7F

#CFBC7F is a light, moderate yellow. Relative luminance 0.508; OKLCH L 79.7% C 0.082 H 92.8°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#CFBC7F
RGBrgb(207, 188, 127)
HSLhsl(46, 45%, 65%)
HSVhsv(46, 39%, 81%)
CMYKcmyk(0%, 9.2%, 38.6%, 18.8%)
CIE-LABlab(76.54, -1.95, 33.33)
CIE-LCHlch(76.54, 33.38, 93.35°)
OKLaboklab(79.71% -0.004 0.0822)
OKLCHoklch(79.71% 0.082 92.8)
XYZxyz(47.5471, 50.7658, 27.3687)
Luminance0.5076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBC7F #7F92CF
analogous
#CF947F #CFBC7F #BACF7F
triadic
#CFBC7F #7FCFBC #BC7FCF
tetradic
#CFBC7F #7FCF94 #7F92CF #CF7FBA
square
#CFBC7F #7FCF94 #7F92CF #CF7FBA
split-complementary
#CFBC7F #7FBACF #947FCF
monochromatic
#9A833A #BEA552 #CFBC7F #E0D3AC #F0EBD8

Accessibility & contrast

On white

1.88
#CFBC7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.15
#CFBC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBC7F
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBC7F#FFFFFF#000000##000000
##CFBC7F1.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B97B
Deuteranopia (green-blind)
#CDBF81
Tritanopia (blue-blind)
#DBB3AC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfbc7f;
/* rgb */ color: rgb(207, 188, 127);
/* oklch */ color: oklch(79.7% 0.082 92.8);
Tailwind
colors: {
  custom: {
    50: '#dfd0a5',
    500: '#cfbc7f',
    950: '#000000',
  },
}
SCSS
$custom: #cfbc7f;
$custom-light: #dfd0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbc7f",
  "rgb": {
    "r": 207,
    "g": 188,
    "b": 127
  },
  "hsl": {
    "h": 45.75,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.7971,
    "c": 0.08225,
    "h": 92.8
  },
  "luminance": 0.50764
}

Semantic roles & 50–950 ramp

primary
#CFBC7F
secondary
#5365A0
accent
#4EB92D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15130F
muted
#848380

Preview Lab

Preview with #CFBC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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