#CFB156#CFB156

#CFB156 is a light, moderate yellow. Relative luminance 0.454; OKLCH L 76.9% C 0.116 H 91.3°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#CFB156
RGBrgb(207, 177, 86)
HSLhsl(45, 56%, 57%)
HSVhsv(45, 58%, 81%)
CMYKcmyk(0%, 14.5%, 58.5%, 18.8%)
CIE-LABlab(73.14, -0.00, 49.74)
CIE-LCHlch(73.14, 49.74, 90.00°)
OKLaboklab(76.86% -0.0025 0.1157)
OKLCHoklch(76.86% 0.116 91.3)
XYZxyz(43.1359, 45.3838, 15.2902)
Luminance0.4538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB156 #5674CF
analogous
#CF7556 #CFB156 #B0CF56
triadic
#CFB156 #56CFB1 #B156CF
tetradic
#CFB156 #56CF75 #5674CF #CF56B0
square
#CFB156 #56CF75 #5674CF #CF56B0
split-complementary
#CFB156 #56B0CF #7556CF
monochromatic
#856D26 #B59433 #CFB156 #DDC786 #EADDB5

Accessibility & contrast

On white

2.08
#CFB156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#CFB156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB156
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB156#FFFFFF#000000##000000
##CFB1561.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF4D
Deuteranopia (green-blind)
#C9B75A
Tritanopia (blue-blind)
#DEA59D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfb156;
/* rgb */ color: rgb(207, 177, 86);
/* oklch */ color: oklch(76.9% 0.116 91.3);
Tailwind
colors: {
  custom: {
    50: '#e0c888',
    500: '#cfb156',
    950: '#000000',
  },
}
SCSS
$custom: #cfb156;
$custom-light: #e0c888;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb156",
  "rgb": {
    "r": 207,
    "g": 177,
    "b": 86
  },
  "hsl": {
    "h": 45.124,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.76857,
    "c": 0.11574,
    "h": 91.3
  },
  "luminance": 0.45382
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFB156

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

Preview Lab → · Contrast checker → · Palette generator →

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