#CFB255#CFB255

#CFB255 is a light, moderate yellow. Relative luminance 0.458; OKLCH L 77.0% C 0.117 H 92.1°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#CFB255
RGBrgb(207, 178, 85)
HSLhsl(46, 56%, 57%)
HSVhsv(46, 59%, 81%)
CMYKcmyk(0%, 14%, 58.9%, 18.8%)
CIE-LABlab(73.39, -0.60, 50.50)
CIE-LCHlch(73.39, 50.50, 90.68°)
OKLaboklab(77.05% -0.0044 0.1172)
OKLCHoklch(77.05% 0.117 92.1)
XYZxyz(43.2941, 45.7643, 15.1455)
Luminance0.4576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB255 #5572CF
analogous
#CF7555 #CFB255 #AFCF55
triadic
#CFB255 #55CFB2 #B255CF
tetradic
#CFB255 #55CF75 #5572CF #CF55AF
square
#CFB255 #55CF75 #5572CF #CF55AF
split-complementary
#CFB255 #55AFCF #7555CF
monochromatic
#846E25 #B49533 #CFB255 #DCC885 #EADDB4

Accessibility & contrast

On white

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

On black

10.15
#CFB255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB255
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB255#FFFFFF#000000##000000
##CFB2551.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb255;
/* rgb */ color: rgb(207, 178, 85);
/* oklch */ color: oklch(77.0% 0.117 92.1);
Tailwind
colors: {
  custom: {
    50: '#e0c888',
    500: '#cfb255',
    950: '#000000',
  },
}
SCSS
$custom: #cfb255;
$custom-light: #e0c888;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb255",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 85
  },
  "hsl": {
    "h": 45.738,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.7705,
    "c": 0.1173,
    "h": 92.1
  },
  "luminance": 0.45762
}

Semantic roles & 50–950 ramp

primary
#CFB255
secondary
#A7B3D9
accent
#6CDF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB255

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

Preview Lab → · Contrast checker → · Palette generator →

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