#CFB247#CFB247

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

Color values

HEX#CFB247
RGBrgb(207, 178, 71)
HSLhsl(47, 59%, 55%)
HSVhsv(47, 66%, 81%)
CMYKcmyk(0%, 14%, 65.7%, 18.8%)
CIE-LABlab(73.26, -1.53, 56.69)
CIE-LCHlch(73.26, 56.71, 91.55°)
OKLaboklab(76.9% -0.0088 0.1285)
OKLCHoklch(76.9% 0.129 93.9)
XYZxyz(42.7919, 45.5634, 12.5007)
Luminance0.4556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB247 #4764CF
analogous
#CF6E47 #CFB247 #A8CF47
triadic
#CFB247 #47CFB2 #B247CF
tetradic
#CFB247 #47CF6E #4764CF #CF47A8
square
#CFB247 #47CF6E #4764CF #CF47A8
split-complementary
#CFB247 #47A8CF #6E47CF
monochromatic
#7B6820 #AC912D #CFB247 #DCC678 #E8DBA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB247#FFFFFF#000000##000000
##CFB2471.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)
#C4AF3A
Deuteranopia (green-blind)
#CBB84C
Tritanopia (blue-blind)
#DFA59B
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfb247;
/* rgb */ color: rgb(207, 178, 71);
/* oklch */ color: oklch(76.9% 0.129 93.9);
Tailwind
colors: {
  custom: {
    50: '#e1c87f',
    500: '#cfb247',
    950: '#000000',
  },
}
SCSS
$custom: #cfb247;
$custom-light: #e1c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb247",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 71
  },
  "hsl": {
    "h": 47.206,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76904,
    "c": 0.12879,
    "h": 93.9
  },
  "luminance": 0.45561
}

Semantic roles & 50–950 ramp

primary
#CFB247
secondary
#9CA8D6
accent
#67E246
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB247

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

Preview Lab → · Contrast checker → · Palette generator →

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