#CFB646#CFB646

#CFB646 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.7% C 0.132 H 96.5°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#CFB646
RGBrgb(207, 182, 70)
HSLhsl(49, 59%, 54%)
HSVhsv(49, 66%, 81%)
CMYKcmyk(0%, 12.1%, 66.2%, 18.8%)
CIE-LABlab(74.30, -3.69, 58.21)
CIE-LCHlch(74.30, 58.33, 93.62°)
OKLaboklab(77.72% -0.0151 0.1316)
OKLCHoklch(77.72% 0.132 96.5)
XYZxyz(43.5676, 47.1657, 12.6022)
Luminance0.4716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB646 #465FCF
analogous
#CF7246 #CFB646 #A4CF46
triadic
#CFB646 #46CFB6 #B646CF
tetradic
#CFB646 #46CF72 #465FCF #CF46A4
square
#CFB646 #46CF72 #465FCF #CF46A4
split-complementary
#CFB646 #46A4CF #7246CF
monochromatic
#7B6A20 #AB942C #CFB646 #DCC977 #E8DCA7

Accessibility & contrast

On white

2.01
#CFB646 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#CFB646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB646
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB646#FFFFFF#000000##000000
##CFB6461.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B238
Deuteranopia (green-blind)
#CEBA4C
Tritanopia (blue-blind)
#DFA99F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfb646;
/* rgb */ color: rgb(207, 182, 70);
/* oklch */ color: oklch(77.7% 0.132 96.5);
Tailwind
colors: {
  custom: {
    50: '#e1cb7f',
    500: '#cfb646',
    950: '#000000',
  },
}
SCSS
$custom: #cfb646;
$custom-light: #e1cb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb646",
  "rgb": {
    "r": 207,
    "g": 182,
    "b": 70
  },
  "hsl": {
    "h": 49.051,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77719,
    "c": 0.13242,
    "h": 96.5
  },
  "luminance": 0.47163
}

Semantic roles & 50–950 ramp

primary
#CFB646
secondary
#9BA6D5
accent
#62E246
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB646

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

Preview Lab → · Contrast checker → · Palette generator →

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