#CFB841#CFB841

#CFB841 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 78.1% C 0.138 H 98.1°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#CFB841
RGBrgb(207, 184, 65)
HSLhsl(50, 60%, 53%)
HSVhsv(50, 69%, 81%)
CMYKcmyk(0%, 11.1%, 68.6%, 18.8%)
CIE-LABlab(74.78, -5.01, 60.78)
CIE-LCHlch(74.78, 60.99, 94.71°)
OKLaboklab(78.09% -0.0194 0.1362)
OKLCHoklch(78.09% 0.138 98.1)
XYZxyz(43.8288, 47.9302, 11.9428)
Luminance0.4793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB841 #4158CF
analogous
#CF7141 #CFB841 #9FCF41
triadic
#CFB841 #41CFB8 #B841CF
tetradic
#CFB841 #41CF71 #4158CF #CF419F
square
#CFB841 #41CF71 #4158CF #CF419F
split-complementary
#CFB841 #419FCF #7141CF
monochromatic
#77691E #A8942B #CFB841 #DBCA72 #E8DDA3

Accessibility & contrast

On white

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

On black

10.59
#CFB841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB841
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB841#FFFFFF#000000##000000
##CFB8411.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb841;
/* rgb */ color: rgb(207, 184, 65);
/* oklch */ color: oklch(78.1% 0.138 98.1);
Tailwind
colors: {
  custom: {
    50: '#e1cd7c',
    500: '#cfb841',
    950: '#000000',
  },
}
SCSS
$custom: #cfb841;
$custom-light: #e1cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb841",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 65
  },
  "hsl": {
    "h": 50.282,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78091,
    "c": 0.13754,
    "h": 98.1
  },
  "luminance": 0.47928
}

Semantic roles & 50–950 ramp

primary
#CFB841
secondary
#97A1D4
accent
#5FE345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB841

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

Preview Lab → · Contrast checker → · Palette generator →

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