#CFB45F#CFB45F

#CFB45F is a light, moderate yellow. Relative luminance 0.467; OKLCH L 77.6% C 0.110 H 92.1°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#CFB45F
RGBrgb(207, 180, 95)
HSLhsl(46, 54%, 59%)
HSVhsv(46, 54%, 81%)
CMYKcmyk(0%, 13%, 54.1%, 18.8%)
CIE-LABlab(74.02, -0.88, 46.42)
CIE-LCHlch(74.02, 46.43, 91.08°)
OKLaboklab(77.58% -0.004 0.1095)
OKLCHoklch(77.58% 0.11 92.1)
XYZxyz(44.1207, 46.7362, 17.5213)
Luminance0.4673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB45F #5F7ACF
analogous
#CF7C5F #CFB45F #B2CF5F
triadic
#CFB45F #5FCFB4 #B45FCF
tetradic
#CFB45F #5FCF7C #5F7ACF #CF5FB2
square
#CFB45F #5FCF7C #5F7ACF #CF5FB2
split-complementary
#CFB45F #5FB2CF #7C5FCF
monochromatic
#8A7329 #B99A38 #CFB45F #DDCA8E #EBE0BD

Accessibility & contrast

On white

2.03
#CFB45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#CFB45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB45F
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB45F#FFFFFF#000000##000000
##CFB45F1.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B157
Deuteranopia (green-blind)
#CBB962
Tritanopia (blue-blind)
#DEA8A0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb45f;
/* rgb */ color: rgb(207, 180, 95);
/* oklch */ color: oklch(77.6% 0.110 92.1);
Tailwind
colors: {
  custom: {
    50: '#e0ca8e',
    500: '#cfb45f',
    950: '#000000',
  },
}
SCSS
$custom: #cfb45f;
$custom-light: #e0ca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb45f",
  "rgb": {
    "r": 207,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 45.536,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.77581,
    "c": 0.10956,
    "h": 92.1
  },
  "luminance": 0.46734
}

Semantic roles & 50–950 ramp

primary
#CFB45F
secondary
#AFBADB
accent
#6EDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB45F

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

Preview Lab → · Contrast checker → · Palette generator →

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