#CFB645#CFB645

#CFB645 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.7% C 0.133 H 96.6°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#CFB645
RGBrgb(207, 182, 69)
HSLhsl(49, 59%, 54%)
HSVhsv(49, 67%, 81%)
CMYKcmyk(0%, 12.1%, 66.7%, 18.8%)
CIE-LABlab(74.29, -3.74, 58.63)
CIE-LCHlch(74.29, 58.75, 93.65°)
OKLaboklab(77.71% -0.0154 0.1323)
OKLCHoklch(77.71% 0.133 96.6)
XYZxyz(43.5363, 47.1531, 12.4373)
Luminance0.4715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB645 #455ECF
analogous
#CF7145 #CFB645 #A3CF45
triadic
#CFB645 #45CFB6 #B645CF
tetradic
#CFB645 #45CF71 #455ECF #CF45A3
square
#CFB645 #45CF71 #455ECF #CF45A3
split-complementary
#CFB645 #45A3CF #7145CF
monochromatic
#7A6A20 #AB942C #CFB645 #DCC976 #E8DCA6

Accessibility & contrast

On white

2.01
#CFB645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#CFB645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB645
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB645#FFFFFF#000000##000000
##CFB6451.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B237
Deuteranopia (green-blind)
#CEBA4B
Tritanopia (blue-blind)
#DFA99F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfb645;
/* rgb */ color: rgb(207, 182, 69);
/* oklch */ color: oklch(77.7% 0.133 96.6);
Tailwind
colors: {
  custom: {
    50: '#e1cb7e',
    500: '#cfb645',
    950: '#000000',
  },
}
SCSS
$custom: #cfb645;
$custom-light: #e1cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb645",
  "rgb": {
    "r": 207,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 49.13,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.7771,
    "c": 0.13316,
    "h": 96.6
  },
  "luminance": 0.47151
}

Semantic roles & 50–950 ramp

primary
#CFB645
secondary
#9BA5D5
accent
#62E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB645

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

Preview Lab → · Contrast checker → · Palette generator →

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