#CFB345#CFB345

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

Color values

HEX#CFB345
RGBrgb(207, 179, 69)
HSLhsl(48, 59%, 54%)
HSVhsv(48, 67%, 81%)
CMYKcmyk(0%, 13.5%, 66.7%, 18.8%)
CIE-LABlab(73.50, -2.17, 57.81)
CIE-LCHlch(73.50, 57.85, 92.15°)
OKLaboklab(77.09% -0.0109 0.1305)
OKLCHoklch(77.09% 0.131 94.8)
XYZxyz(42.9285, 45.9375, 12.2347)
Luminance0.4593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB345 #4561CF
analogous
#CF6E45 #CFB345 #A6CF45
triadic
#CFB345 #45CFB3 #B345CF
tetradic
#CFB345 #45CF6E #4561CF #CF45A6
square
#CFB345 #45CF6E #4561CF #CF45A6
split-complementary
#CFB345 #45A6CF #6E45CF
monochromatic
#7A6820 #AB912C #CFB345 #DCC776 #E8DBA6

Accessibility & contrast

On white

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

On black

10.19
#CFB345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB345
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB345#FFFFFF#000000##000000
##CFB3451.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B037
Deuteranopia (green-blind)
#CCB84B
Tritanopia (blue-blind)
#DFA69C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb345;
/* rgb */ color: rgb(207, 179, 69);
/* oklch */ color: oklch(77.1% 0.131 94.8);
Tailwind
colors: {
  custom: {
    50: '#e1c97e',
    500: '#cfb345',
    950: '#000000',
  },
}
SCSS
$custom: #cfb345;
$custom-light: #e1c97e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb345",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 69
  },
  "hsl": {
    "h": 47.826,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77091,
    "c": 0.13099,
    "h": 94.8
  },
  "luminance": 0.45935
}

Semantic roles & 50–950 ramp

primary
#CFB345
secondary
#9BA6D5
accent
#65E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB345

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

Preview Lab → · Contrast checker → · Palette generator →

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