#CFB145#CFB145

#CFB145 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.7% C 0.130 H 93.5°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#CFB145
RGBrgb(207, 177, 69)
HSLhsl(47, 59%, 54%)
HSVhsv(47, 67%, 81%)
CMYKcmyk(0%, 14.5%, 66.7%, 18.8%)
CIE-LABlab(72.98, -1.12, 57.26)
CIE-LCHlch(72.98, 57.27, 91.12°)
OKLaboklab(76.68% -0.0078 0.1294)
OKLCHoklch(76.68% 0.13 93.5)
XYZxyz(42.5305, 45.1416, 12.1021)
Luminance0.4514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB145 #4563CF
analogous
#CF6C45 #CFB145 #A8CF45
triadic
#CFB145 #45CFB1 #B145CF
tetradic
#CFB145 #45CF6C #4563CF #CF45A8
square
#CFB145 #45CF6C #4563CF #CF45A8
split-complementary
#CFB145 #45A8CF #6C45CF
monochromatic
#7A6620 #AB8F2C #CFB145 #DCC576 #E8DAA6

Accessibility & contrast

On white

2.09
#CFB145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#CFB145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB145
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB145#FFFFFF#000000##000000
##CFB1451.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE38
Deuteranopia (green-blind)
#CBB74A
Tritanopia (blue-blind)
#DFA49A
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cfb145;
/* rgb */ color: rgb(207, 177, 69);
/* oklch */ color: oklch(76.7% 0.130 93.5);
Tailwind
colors: {
  custom: {
    50: '#e1c87e',
    500: '#cfb145',
    950: '#000000',
  },
}
SCSS
$custom: #cfb145;
$custom-light: #e1c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb145",
  "rgb": {
    "r": 207,
    "g": 177,
    "b": 69
  },
  "hsl": {
    "h": 46.957,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.7668,
    "c": 0.12962,
    "h": 93.5
  },
  "luminance": 0.45139
}

Semantic roles & 50–950 ramp

primary
#CFB145
secondary
#9BA7D5
accent
#68E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB145

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

Preview Lab → · Contrast checker → · Palette generator →

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