#CFB246#CFB246

#CFB246 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.9% C 0.130 H 94.0°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#CFB246
RGBrgb(207, 178, 70)
HSLhsl(47, 59%, 54%)
HSVhsv(47, 66%, 81%)
CMYKcmyk(0%, 14%, 66.2%, 18.8%)
CIE-LABlab(73.25, -1.59, 57.12)
CIE-LCHlch(73.25, 57.14, 91.59°)
OKLaboklab(76.9% -0.0091 0.1292)
OKLCHoklch(76.9% 0.13 94)
XYZxyz(42.7601, 45.5507, 12.3330)
Luminance0.4555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB246 #4663CF
analogous
#CF6E46 #CFB246 #A8CF46
triadic
#CFB246 #46CFB2 #B246CF
tetradic
#CFB246 #46CF6E #4663CF #CF46A8
square
#CFB246 #46CF6E #4663CF #CF46A8
split-complementary
#CFB246 #46A8CF #6E46CF
monochromatic
#7B6820 #AB902C #CFB246 #DCC677 #E8DAA7

Accessibility & contrast

On white

2.08
#CFB246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#CFB246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB246
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB246#FFFFFF#000000##000000
##CFB2461.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF39
Deuteranopia (green-blind)
#CBB84B
Tritanopia (blue-blind)
#DFA59B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfb246;
/* rgb */ color: rgb(207, 178, 70);
/* oklch */ color: oklch(76.9% 0.130 94.0);
Tailwind
colors: {
  custom: {
    50: '#e1c87f',
    500: '#cfb246',
    950: '#000000',
  },
}
SCSS
$custom: #cfb246;
$custom-light: #e1c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb246",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 70
  },
  "hsl": {
    "h": 47.299,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.76895,
    "c": 0.12955,
    "h": 94
  },
  "luminance": 0.45548
}

Semantic roles & 50–950 ramp

primary
#CFB246
secondary
#9BA8D5
accent
#67E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB246

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

Preview Lab → · Contrast checker → · Palette generator →

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