#CFB862#CFB862

#CFB862 is a light, moderate yellow. Relative luminance 0.484; OKLCH L 78.4% C 0.110 H 94.7°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#CFB862
RGBrgb(207, 184, 98)
HSLhsl(47, 53%, 60%)
HSVhsv(47, 53%, 81%)
CMYKcmyk(0%, 11.1%, 52.7%, 18.8%)
CIE-LABlab(75.10, -2.73, 46.24)
CIE-LCHlch(75.10, 46.32, 93.38°)
OKLaboklab(78.44% -0.009 0.1094)
OKLCHoklch(78.44% 0.11 94.7)
XYZxyz(45.0788, 48.4302, 18.5264)
Luminance0.4843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB862 #6279CF
analogous
#CF8162 #CFB862 #B0CF62
triadic
#CFB862 #62CFB8 #B862CF
tetradic
#CFB862 #62CF81 #6279CF #CF62B0
square
#CFB862 #62CF81 #6279CF #CF62B0
split-complementary
#CFB862 #62B0CF #8162CF
monochromatic
#8C772B #BB9F39 #CFB862 #DDCD91 #ECE2C0

Accessibility & contrast

On white

1.97
#CFB862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#CFB862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB862
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB862#FFFFFF#000000##000000
##CFB8621.001.9710.6910.69
#FFFFFF1.971.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B55A
Deuteranopia (green-blind)
#CEBC66
Tritanopia (blue-blind)
#DDADA4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb862;
/* rgb */ color: rgb(207, 184, 98);
/* oklch */ color: oklch(78.4% 0.110 94.7);
Tailwind
colors: {
  custom: {
    50: '#e0cd91',
    500: '#cfb862',
    950: '#000000',
  },
}
SCSS
$custom: #cfb862;
$custom-light: #e0cd91;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb862",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 98
  },
  "hsl": {
    "h": 47.339,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.78441,
    "c": 0.10973,
    "h": 94.7
  },
  "luminance": 0.48428
}

Semantic roles & 50–950 ramp

primary
#CFB862
secondary
#B1BADB
accent
#6ADD4B
background
#FEFCF9
surface
#FCF8F1
border
#D5D1CB
text
#16130D
muted
#84827E

Preview Lab

Preview with #CFB862

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

Preview Lab → · Contrast checker → · Palette generator →

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