#CFB955#CFB955

#CFB955 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.5% C 0.123 H 97.0°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#CFB955
RGBrgb(207, 185, 85)
HSLhsl(49, 56%, 57%)
HSVhsv(49, 59%, 81%)
CMYKcmyk(0%, 10.6%, 58.9%, 18.8%)
CIE-LABlab(75.22, -4.27, 52.57)
CIE-LCHlch(75.22, 52.74, 94.65°)
OKLaboklab(78.49% -0.015 0.1217)
OKLCHoklch(78.49% 0.123 97)
XYZxyz(44.7226, 48.6212, 15.6217)
Luminance0.4862 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB955 #556BCF
analogous
#CF7C55 #CFB955 #A8CF55
triadic
#CFB955 #55CFB9 #B955CF
tetradic
#CFB955 #55CF7C #556BCF #CF55A8
square
#CFB955 #55CF7C #556BCF #CF55A8
split-complementary
#CFB955 #55A8CF #7C55CF
monochromatic
#847325 #B49D33 #CFB955 #DCCD85 #EAE0B4

Accessibility & contrast

On white

1.96
#CFB955 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#CFB955 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB955
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB955#FFFFFF#000000##000000
##CFB9551.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B54B
Deuteranopia (green-blind)
#CFBC5A
Tritanopia (blue-blind)
#DEADA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb955;
/* rgb */ color: rgb(207, 185, 85);
/* oklch */ color: oklch(78.5% 0.123 97.0);
Tailwind
colors: {
  custom: {
    50: '#e0cd88',
    500: '#cfb955',
    950: '#000000',
  },
}
SCSS
$custom: #cfb955;
$custom-light: #e0cd88;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb955",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 85
  },
  "hsl": {
    "h": 49.18,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.7849,
    "c": 0.12258,
    "h": 97
  },
  "luminance": 0.48619
}

Semantic roles & 50–950 ramp

primary
#CFB955
secondary
#A7B0D9
accent
#64DF49
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB955

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

Preview Lab → · Contrast checker → · Palette generator →

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