#CFB343#CFB343

#CFB343 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.1% C 0.132 H 94.9°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#CFB343
RGBrgb(207, 179, 67)
HSLhsl(48, 59%, 54%)
HSVhsv(48, 68%, 81%)
CMYKcmyk(0%, 13.5%, 67.6%, 18.8%)
CIE-LABlab(73.49, -2.29, 58.63)
CIE-LCHlch(73.49, 58.68, 92.23°)
OKLaboklab(77.07% -0.0114 0.132)
OKLCHoklch(77.07% 0.132 94.9)
XYZxyz(42.8674, 45.9131, 11.9133)
Luminance0.4591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB343 #435FCF
analogous
#CF6D43 #CFB343 #A5CF43
triadic
#CFB343 #43CFB3 #B343CF
tetradic
#CFB343 #43CF6D #435FCF #CF43A5
square
#CFB343 #43CF6D #435FCF #CF43A5
split-complementary
#CFB343 #43A5CF #6D43CF
monochromatic
#79671F #AA902B #CFB343 #DBC774 #E8DAA5

Accessibility & contrast

On white

2.06
#CFB343 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#CFB343 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB343
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB343#FFFFFF#000000##000000
##CFB3431.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B034
Deuteranopia (green-blind)
#CCB849
Tritanopia (blue-blind)
#DFA69C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfb343;
/* rgb */ color: rgb(207, 179, 67);
/* oklch */ color: oklch(77.1% 0.132 94.9);
Tailwind
colors: {
  custom: {
    50: '#e1c97d',
    500: '#cfb343',
    950: '#000000',
  },
}
SCSS
$custom: #cfb343;
$custom-light: #e1c97d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb343",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 67
  },
  "hsl": {
    "h": 48,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77074,
    "c": 0.13244,
    "h": 94.9
  },
  "luminance": 0.45911
}

Semantic roles & 50–950 ramp

primary
#CFB343
secondary
#99A5D5
accent
#65E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB343

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

Preview Lab → · Contrast checker → · Palette generator →

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