#CFB155#CFB155

#CFB155 is a light, moderate yellow. Relative luminance 0.454; OKLCH L 76.8% C 0.117 H 91.4°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#CFB155
RGBrgb(207, 177, 85)
HSLhsl(45, 56%, 57%)
HSVhsv(45, 59%, 81%)
CMYKcmyk(0%, 14.5%, 58.9%, 18.8%)
CIE-LABlab(73.13, -0.07, 50.20)
CIE-LCHlch(73.13, 50.20, 90.08°)
OKLaboklab(76.85% -0.0029 0.1166)
OKLCHoklch(76.85% 0.117 91.4)
XYZxyz(43.0959, 45.3678, 15.0794)
Luminance0.4537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB155 #5573CF
analogous
#CF7455 #CFB155 #B0CF55
triadic
#CFB155 #55CFB1 #B155CF
tetradic
#CFB155 #55CF74 #5573CF #CF55B0
square
#CFB155 #55CF74 #5573CF #CF55B0
split-complementary
#CFB155 #55B0CF #7455CF
monochromatic
#846D25 #B49433 #CFB155 #DCC785 #EADDB4

Accessibility & contrast

On white

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

On black

10.07
#CFB155 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB155
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB155#FFFFFF#000000##000000
##CFB1551.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF4C
Deuteranopia (green-blind)
#C9B759
Tritanopia (blue-blind)
#DEA49C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfb155;
/* rgb */ color: rgb(207, 177, 85);
/* oklch */ color: oklch(76.8% 0.117 91.4);
Tailwind
colors: {
  custom: {
    50: '#e1c888',
    500: '#cfb155',
    950: '#000000',
  },
}
SCSS
$custom: #cfb155;
$custom-light: #e1c888;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb155",
  "rgb": {
    "r": 207,
    "g": 177,
    "b": 85
  },
  "hsl": {
    "h": 45.246,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.76845,
    "c": 0.11663,
    "h": 91.4
  },
  "luminance": 0.45366
}

Semantic roles & 50–950 ramp

primary
#CFB155
secondary
#A7B3D9
accent
#6EDF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFB155

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

Preview Lab → · Contrast checker → · Palette generator →

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