#CFB256#CFB256

#CFB256 is a light, moderate yellow. Relative luminance 0.458; OKLCH L 77.1% C 0.116 H 92.0°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#CFB256
RGBrgb(207, 178, 86)
HSLhsl(46, 56%, 57%)
HSVhsv(46, 58%, 81%)
CMYKcmyk(0%, 14%, 58.5%, 18.8%)
CIE-LABlab(73.40, -0.53, 50.04)
CIE-LCHlch(73.40, 50.04, 90.60°)
OKLaboklab(77.06% -0.0041 0.1164)
OKLCHoklch(77.06% 0.116 92)
XYZxyz(43.3341, 45.7803, 15.3562)
Luminance0.4578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB256 #5673CF
analogous
#CF7656 #CFB256 #AFCF56
triadic
#CFB256 #56CFB2 #B256CF
tetradic
#CFB256 #56CF76 #5673CF #CF56AF
square
#CFB256 #56CF76 #5673CF #CF56AF
split-complementary
#CFB256 #56AFCF #7656CF
monochromatic
#856E26 #B59633 #CFB256 #DDC886 #EADDB5

Accessibility & contrast

On white

2.07
#CFB256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#CFB256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB256
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB256#FFFFFF#000000##000000
##CFB2561.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF4D
Deuteranopia (green-blind)
#CAB85A
Tritanopia (blue-blind)
#DEA69D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfb256;
/* rgb */ color: rgb(207, 178, 86);
/* oklch */ color: oklch(77.1% 0.116 92.0);
Tailwind
colors: {
  custom: {
    50: '#e0c888',
    500: '#cfb256',
    950: '#000000',
  },
}
SCSS
$custom: #cfb256;
$custom-light: #e0c888;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb256",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 86
  },
  "hsl": {
    "h": 45.62,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.77061,
    "c": 0.11642,
    "h": 92
  },
  "luminance": 0.45778
}

Semantic roles & 50–950 ramp

primary
#CFB256
secondary
#A8B4D9
accent
#6DDF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB256

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

Preview Lab → · Contrast checker → · Palette generator →

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