#CFB346#CFB346

#CFB346 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.1% C 0.130 H 94.7°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#CFB346
RGBrgb(207, 179, 70)
HSLhsl(48, 59%, 54%)
HSVhsv(48, 66%, 81%)
CMYKcmyk(0%, 13.5%, 66.2%, 18.8%)
CIE-LABlab(73.51, -2.12, 57.39)
CIE-LCHlch(73.51, 57.43, 92.11°)
OKLaboklab(77.1% -0.0106 0.1298)
OKLCHoklch(77.1% 0.13 94.7)
XYZxyz(42.9598, 45.9500, 12.3996)
Luminance0.4595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB346 #4662CF
analogous
#CF6F46 #CFB346 #A7CF46
triadic
#CFB346 #46CFB3 #B346CF
tetradic
#CFB346 #46CF6F #4662CF #CF46A7
square
#CFB346 #46CF6F #4662CF #CF46A7
split-complementary
#CFB346 #46A7CF #6F46CF
monochromatic
#7B6820 #AB912C #CFB346 #DCC777 #E8DBA7

Accessibility & contrast

On white

2.06
#CFB346 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#CFB346 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB346
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB346#FFFFFF#000000##000000
##CFB3461.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B039
Deuteranopia (green-blind)
#CCB84C
Tritanopia (blue-blind)
#DFA69C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb346;
/* rgb */ color: rgb(207, 179, 70);
/* oklch */ color: oklch(77.1% 0.130 94.7);
Tailwind
colors: {
  custom: {
    50: '#e1c97f',
    500: '#cfb346',
    950: '#000000',
  },
}
SCSS
$custom: #cfb346;
$custom-light: #e1c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb346",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 70
  },
  "hsl": {
    "h": 47.737,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.771,
    "c": 0.13024,
    "h": 94.7
  },
  "luminance": 0.45948
}

Semantic roles & 50–950 ramp

primary
#CFB346
secondary
#9BA7D5
accent
#66E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB346

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

Preview Lab → · Contrast checker → · Palette generator →

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