#CFB543#CFB543

#CFB543 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.5% C 0.134 H 96.2°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#CFB543
RGBrgb(207, 181, 67)
HSLhsl(49, 59%, 54%)
HSVhsv(49, 68%, 81%)
CMYKcmyk(0%, 12.6%, 67.6%, 18.8%)
CIE-LABlab(74.01, -3.33, 59.17)
CIE-LCHlch(74.01, 59.27, 93.23°)
OKLaboklab(77.49% -0.0144 0.1331)
OKLCHoklch(77.49% 0.134 96.2)
XYZxyz(43.2712, 46.7206, 12.0479)
Luminance0.4672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB543 #435DCF
analogous
#CF6F43 #CFB543 #A3CF43
triadic
#CFB543 #43CFB5 #B543CF
tetradic
#CFB543 #43CF6F #435DCF #CF43A3
square
#CFB543 #43CF6F #435DCF #CF43A3
split-complementary
#CFB543 #43A3CF #6F43CF
monochromatic
#79681F #AA922B #CFB543 #DBC874 #E8DBA5

Accessibility & contrast

On white

2.03
#CFB543 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#CFB543 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB543
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB543#FFFFFF#000000##000000
##CFB5431.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B134
Deuteranopia (green-blind)
#CEBA49
Tritanopia (blue-blind)
#DFA89D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb543;
/* rgb */ color: rgb(207, 181, 67);
/* oklch */ color: oklch(77.5% 0.134 96.2);
Tailwind
colors: {
  custom: {
    50: '#e1ca7d',
    500: '#cfb543',
    950: '#000000',
  },
}
SCSS
$custom: #cfb543;
$custom-light: #e1ca7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb543",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 67
  },
  "hsl": {
    "h": 48.857,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77486,
    "c": 0.13388,
    "h": 96.2
  },
  "luminance": 0.46718
}

Semantic roles & 50–950 ramp

primary
#CFB543
secondary
#99A4D5
accent
#62E345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB543

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

Preview Lab → · Contrast checker → · Palette generator →

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