#CFB843#CFB843

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

Color values

HEX#CFB843
RGBrgb(207, 184, 67)
HSLhsl(50, 59%, 54%)
HSVhsv(50, 68%, 81%)
CMYKcmyk(0%, 11.1%, 67.6%, 18.8%)
CIE-LABlab(74.80, -4.90, 59.98)
CIE-LCHlch(74.80, 60.18, 94.67°)
OKLaboklab(78.11% -0.0189 0.1348)
OKLCHoklch(78.11% 0.136 98)
XYZxyz(43.8878, 47.9537, 12.2534)
Luminance0.4795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB843 #435ACF
analogous
#CF7243 #CFB843 #A0CF43
triadic
#CFB843 #43CFB8 #B843CF
tetradic
#CFB843 #43CF72 #435ACF #CF43A0
square
#CFB843 #43CF72 #435ACF #CF43A0
split-complementary
#CFB843 #43A0CF #7243CF
monochromatic
#796A1F #AA952B #CFB843 #DBCA74 #E8DDA5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB843#FFFFFF#000000##000000
##CFB8431.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)
#CAB433
Deuteranopia (green-blind)
#D0BB4A
Tritanopia (blue-blind)
#DFABA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfb843;
/* rgb */ color: rgb(207, 184, 67);
/* oklch */ color: oklch(78.1% 0.136 98.0);
Tailwind
colors: {
  custom: {
    50: '#e1cd7d',
    500: '#cfb843',
    950: '#000000',
  },
}
SCSS
$custom: #cfb843;
$custom-light: #e1cd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb843",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 67
  },
  "hsl": {
    "h": 50.143,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78108,
    "c": 0.13613,
    "h": 98
  },
  "luminance": 0.47952
}

Semantic roles & 50–950 ramp

primary
#CFB843
secondary
#99A3D5
accent
#5FE345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB843

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

Preview Lab → · Contrast checker → · Palette generator →

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