#CFB847#CFB847

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

Color values

HEX#CFB847
RGBrgb(207, 184, 71)
HSLhsl(50, 59%, 55%)
HSVhsv(50, 66%, 81%)
CMYKcmyk(0%, 11.1%, 65.7%, 18.8%)
CIE-LABlab(74.83, -4.67, 58.35)
CIE-LCHlch(74.83, 58.54, 94.58°)
OKLaboklab(78.14% -0.0178 0.132)
OKLCHoklch(78.14% 0.133 97.7)
XYZxyz(44.0119, 48.0034, 12.9073)
Luminance0.4800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB847 #475ECF
analogous
#CF7447 #CFB847 #A2CF47
triadic
#CFB847 #47CFB8 #B847CF
tetradic
#CFB847 #47CF74 #475ECF #CF47A2
square
#CFB847 #47CF74 #475ECF #CF47A2
split-complementary
#CFB847 #47A2CF #7447CF
monochromatic
#7B6C20 #AC962D #CFB847 #DCCB78 #E8DDA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB847#FFFFFF#000000##000000
##CFB8471.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)
#C9B439
Deuteranopia (green-blind)
#D0BC4D
Tritanopia (blue-blind)
#DFABA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb847;
/* rgb */ color: rgb(207, 184, 71);
/* oklch */ color: oklch(78.1% 0.133 97.7);
Tailwind
colors: {
  custom: {
    50: '#e1cd80',
    500: '#cfb847',
    950: '#000000',
  },
}
SCSS
$custom: #cfb847;
$custom-light: #e1cd80;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb847",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 71
  },
  "hsl": {
    "h": 49.853,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78143,
    "c": 0.13319,
    "h": 97.7
  },
  "luminance": 0.48001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFB847

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

Preview Lab → · Contrast checker → · Palette generator →

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