#CFB965#CFB965

#CFB965 is a light, moderate yellow. Relative luminance 0.489; OKLCH L 78.7% C 0.108 H 95.0°. Best body text is #000000 at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#CFB965
RGBrgb(207, 185, 101)
HSLhsl(48, 52%, 60%)
HSVhsv(48, 51%, 81%)
CMYKcmyk(0%, 10.6%, 51.2%, 18.8%)
CIE-LABlab(75.39, -2.99, 45.12)
CIE-LCHlch(75.39, 45.22, 93.79°)
OKLaboklab(78.69% -0.0095 0.1072)
OKLCHoklch(78.69% 0.108 95)
XYZxyz(45.4316, 48.9048, 19.3559)
Luminance0.4890 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB965 #657BCF
analogous
#CF8465 #CFB965 #B0CF65
triadic
#CFB965 #65CFB9 #B965CF
tetradic
#CFB965 #65CF84 #657BCF #CF65B0
square
#CFB965 #65CF84 #657BCF #CF65B0
split-complementary
#CFB965 #65B0CF #8465CF
monochromatic
#8D792C #BCA13B #CFB965 #DECE94 #ECE3C2

Accessibility & contrast

On white

1.95
#CFB965 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.78
#CFB965 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB965
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB965#FFFFFF#000000##000000
##CFB9651.001.9510.7810.78
#FFFFFF1.951.0021.0021.00
#00000010.7821.001.001.00
##00000010.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B65E
Deuteranopia (green-blind)
#CEBD68
Tritanopia (blue-blind)
#DDAEA5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfb965;
/* rgb */ color: rgb(207, 185, 101);
/* oklch */ color: oklch(78.7% 0.108 95.0);
Tailwind
colors: {
  custom: {
    50: '#e0cd93',
    500: '#cfb965',
    950: '#000000',
  },
}
SCSS
$custom: #cfb965;
$custom-light: #e0cd93;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb965",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 101
  },
  "hsl": {
    "h": 47.547,
    "s": 52.475,
    "l": 60.392
  },
  "oklch": {
    "l": 0.78688,
    "c": 0.10759,
    "h": 95
  },
  "luminance": 0.48903
}

Semantic roles & 50–950 ramp

primary
#CFB965
secondary
#B4BCDC
accent
#46C026
background
#FEFCF9
surface
#FCF9F1
border
#D5D2CB
text
#15130D
muted
#84827E

Preview Lab

Preview with #CFB965

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

Preview Lab → · Contrast checker → · Palette generator →

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