#CFB147#CFB147

#CFB147 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.7% C 0.128 H 93.2°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#CFB147
RGBrgb(207, 177, 71)
HSLhsl(47, 59%, 55%)
HSVhsv(47, 66%, 81%)
CMYKcmyk(0%, 14.5%, 65.7%, 18.8%)
CIE-LABlab(73.00, -1.00, 56.42)
CIE-LCHlch(73.00, 56.43, 91.02°)
OKLaboklab(76.7% -0.0073 0.1279)
OKLCHoklch(76.7% 0.128 93.2)
XYZxyz(42.5937, 45.1669, 12.4346)
Luminance0.4516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB147 #4765CF
analogous
#CF6D47 #CFB147 #A9CF47
triadic
#CFB147 #47CFB1 #B147CF
tetradic
#CFB147 #47CF6D #4765CF #CF47A9
square
#CFB147 #47CF6D #4765CF #CF47A9
split-complementary
#CFB147 #47A9CF #6D47CF
monochromatic
#7B6720 #AC902D #CFB147 #DCC678 #E8DAA8

Accessibility & contrast

On white

2.09
#CFB147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#CFB147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB147
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB147#FFFFFF#000000##000000
##CFB1471.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3A
Deuteranopia (green-blind)
#CAB74C
Tritanopia (blue-blind)
#DFA49B
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cfb147;
/* rgb */ color: rgb(207, 177, 71);
/* oklch */ color: oklch(76.7% 0.128 93.2);
Tailwind
colors: {
  custom: {
    50: '#e1c87f',
    500: '#cfb147',
    950: '#000000',
  },
}
SCSS
$custom: #cfb147;
$custom-light: #e1c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb147",
  "rgb": {
    "r": 207,
    "g": 177,
    "b": 71
  },
  "hsl": {
    "h": 46.765,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.76699,
    "c": 0.12812,
    "h": 93.2
  },
  "luminance": 0.45165
}

Semantic roles & 50–950 ramp

primary
#CFB147
secondary
#9CA9D6
accent
#68E246
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB147

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

Preview Lab → · Contrast checker → · Palette generator →

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