#CFB846#CFB846

#CFB846 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.1% C 0.134 H 97.7°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#CFB846
RGBrgb(207, 184, 70)
HSLhsl(50, 59%, 54%)
HSVhsv(50, 66%, 81%)
CMYKcmyk(0%, 11.1%, 66.2%, 18.8%)
CIE-LABlab(74.82, -4.73, 58.76)
CIE-LCHlch(74.82, 58.95, 94.60°)
OKLaboklab(78.13% -0.0181 0.1327)
OKLCHoklch(78.13% 0.134 97.7)
XYZxyz(43.9801, 47.9907, 12.7397)
Luminance0.4799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB846 #465DCF
analogous
#CF7446 #CFB846 #A2CF46
triadic
#CFB846 #46CFB8 #B846CF
tetradic
#CFB846 #46CF74 #465DCF #CF46A2
square
#CFB846 #46CF74 #465DCF #CF46A2
split-complementary
#CFB846 #46A2CF #7446CF
monochromatic
#7B6B20 #AB962C #CFB846 #DCCB77 #E8DDA7

Accessibility & contrast

On white

1.98
#CFB846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#CFB846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB846
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB846#FFFFFF#000000##000000
##CFB8461.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B438
Deuteranopia (green-blind)
#D0BC4C
Tritanopia (blue-blind)
#DFABA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb846;
/* rgb */ color: rgb(207, 184, 70);
/* oklch */ color: oklch(78.1% 0.134 97.7);
Tailwind
colors: {
  custom: {
    50: '#e1cd7f',
    500: '#cfb846',
    950: '#000000',
  },
}
SCSS
$custom: #cfb846;
$custom-light: #e1cd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb846",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 70
  },
  "hsl": {
    "h": 49.927,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78134,
    "c": 0.13394,
    "h": 97.7
  },
  "luminance": 0.47989
}

Semantic roles & 50–950 ramp

primary
#CFB846
secondary
#9BA5D5
accent
#60E246
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB846

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

Preview Lab → · Contrast checker → · Palette generator →

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